SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SQL Blocking and Blocked Proc + Notifi - Part2

By Nicholas Cain,

Based on the script by Paul Delmarche ( http://www.sqlservercentral.com/scripts/contributions/1482.asp ).
Updated to now include the spid, username, blocked and blocking SQL statements in the email (still logged to table).
Schedule the procedure to run at defined intervals (I use 2 minutes)

Total article views: 1398 | Views in the last 30 days: 4