24,183 reputation
34284
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 3 months
seen 1 hour 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
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?
Feb
4
reviewed Approve suggested edit on Get counts grouped by month and year
Feb
4
reviewed Approve suggested edit on Get counts grouped by month and year
Feb
3
comment SQL Server Troubleshooting Replication and Long-Running fn_dblog query
How many VLFs do you have in that log file? You can use DBCC LOGINFO to get a row per VLF. What's the count?
Feb
1
comment Select Into a table on server1 from server2 without using 'Linked Servers'
In addition to Aaron's comment, is this a one-time data transfer or will this happen routinely?
Feb
1
comment Select Into a table on server1 from server2 without using 'Linked Servers'
There is no 2010. You mean 2008R2?
Feb
1
revised Select Into a table on server1 from server2 without using 'Linked Servers'
edited tags
Feb
1
comment Select Into a table on server1 from server2 without using 'Linked Servers'
Which RDBMS are you using?
Feb
1
revised Get counts grouped by month and year
deleted 4 characters in body; edited tags
Feb
1
revised Get counts grouped by month and year
added 4 characters in body