23,513 reputation
33981
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 2 months
seen 4 hours ago

SQL Server Premier Field Engineer at Microsoft.

Twitter: @SQLife
Blog: http://blogs.msdn.com/b/sql_pfe_blog/
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
11
revised Disaster recovery plan - Having multiple servers
added 174 characters in body
Feb
11
answered Disaster recovery plan - Having multiple servers
Feb
10
comment Difference between SQL batch, statement and RPC?
+1 Just to specify, GO is the accepted and default batch terminator of the popular clients we use (i.e. SSMS and sqlcmd), but it is worth noting that the actual GO string as a batch terminator is liable to change and is configurable.
Feb
9
revised Best Practices. Do you append to the existing backup setup when doing a Transaction Log backup?
deleted 9 characters in body
Feb
9
revised Best Practices. Do you append to the existing backup setup when doing a Transaction Log backup?
added 1 characters in body; added 2 characters in body
Feb
9
comment Best Practices. Do you append to the existing backup setup when doing a Transaction Log backup?
Which RDBMS are you working with? By your transaction log backup file extension I'm guessing SQL Server..?
Feb
9
answered Best Practices. Do you append to the existing backup setup when doing a Transaction Log backup?
Feb
8
comment Query is slow for certain users
What are the wait types (sys.dm_os_waiting_tasks) on the slow query(ies), and also what are the actual execution plans of each (your fast, their slow)?
Feb
6
comment Updating SQL Server Database
What have you tried? What do[es] your UPDATE attempt(s) look like?
Feb
6
revised Updating SQL Server Database
added 28 characters in body
Feb
6
revised Getting Identity values to use as FK in an INSTEAD OF trigger
edited tags
Feb
6
comment How do you avoid a foreign key constraint creating deadlocks?
Is it possible for you to post the definitions of the two ZAT_x tables?
Feb
6
comment How do you avoid a foreign key constraint creating deadlocks?
Can you capture the deadlock data and post it? That will be the true testament of what exactly happened. See the bottom of this reference for ways to get this information: msdn.microsoft.com/en-us/library/ms178104(v=SQL.105).aspx
Feb
6
comment Continuing failovers on production server
What are the logged cluster events/errors during the failover?
Feb
6
comment Identify File Growth Events
Absolutely, but I believe it's the only out-of-the-box monitoring that the OP will get on this with actually doing the proper auditing.
Feb
5
revised Identify File Growth Events
edited title
Feb
5
revised Identify File Growth Events
added 159 characters in body
Feb
5
revised Identify File Growth Events
added 159 characters in body
Feb
5
answered Identify File Growth Events
Feb
5
comment comma delimited column fix
So the underlying table has the proper relationship, and you want the view to show the comma delimited format? Can you please post the DDL of the table and maybe some sample data?