25,318 reputation
44586
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 5 months
seen 6 hours ago

SQL Server Support Escalation Engineer at Microsoft.

Twitter: @SQLife
Blog: http://tstringer.azurewebsites.net
Email: sqlsalt [at] outlook [dot] com

Disclaimer
The views expressed on my posts on this site are mine alone and do not reflect the views of my company. All posts of mine are provided "AS IS" with no warranties, and confers no rights.

The following disclaimer applies to all code, scripts and demos available on my posts:

This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.


Feb
28
comment Why is SQL Server memory showing in task manager
+1 This is the right answer and more related to what the OP seems to be looking for.
Feb
26
awarded  Enlightened
Feb
26
awarded  Nice Answer
Feb
26
comment Is there any difference between putting a column alias at the start or the end of the column definition?
@AaronBertrand Do you put the commas in front of the column definition for every column after the first?? I don't think I've ever seen you do that. I keep my commas trailing the owning column definition. :-)
Feb
26
comment Is there any difference between putting a column alias at the start or the end of the column definition?
Completely agree on the quotes aspect. As for the long expression, what I personally do is use carriage returns and newline tabbing and then put the as <Alias> on the last line of the column definition. But definitely agreed, it's as personal as how you like your coffee.
Feb
26
revised Is there any difference between putting a column alias at the start or the end of the column definition?
deleted 16 characters in body
Feb
26
answered Is there any difference between putting a column alias at the start or the end of the column definition?
Feb
26
comment Specifying the failover partner when using Availability Groups
"Otherwise, you'll need to increase your connection timeout to account for the multiple IPs." Or if you will never have a client that can utilize MultiSubnetFailover you should set the RegisterAllProvidersIP property of the cluster resource (the AG) to 0 to ensure that only the active IP address is published to DNS.
Feb
25
comment SQL Server - Separating data, log, and TempDB files on a SAN
I think what the OP is saying is that regardless of the LUN, they are all hitting the same spindles. In other words, there is no physical separation for isolated pools of disks.
Feb
25
comment Stored Procedure Performance Issue
Can you post both of the actual execution plans for 1) the ad-hoc query and 2) the stored procedure execution?
Feb
22
comment Transaction Log maintenance on Mirror database
@JeremieGrund One way to do this would be to failover to the mirrored database and do the shrink there. Thoroughly test this out in a non-production environment to ensure it has the behavior you want/expect.
Feb
22
revised Transaction Log maintenance on Mirror database
edited tags
Feb
22
answered Transaction Log maintenance on Mirror database
Feb
22
comment Understanding WAIT_TIME_MS
That is also cumulative wait time across the instance, not just a particular database.
Feb
22
awarded  sql-server-2008
Feb
22
comment AlwaysOn Availability Groups: Confusion with some concepts
@UB01 Your comment about Joe having the Create Computer objects permission and therefore passing that onto Cluster1 is correct. Therefore, the Listener creation should be successful because Cluster1 has the necessary permissions.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
In the settings of the network adapter, there is a place to put the IP Address of the DNS server. It's where you configure a static IP, subnet mask, etc.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
I believe a DNS server is a requirement for a domain. Either way, without seeing the DC a server won't be able to join the domain.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
Can your server see (ping) the Domain Controller? Also, can it hit the DNS server?
Feb
21
comment Automatically restart SQL Server 2008
No problem, Martin!