Finding Blocking Queries
One of the common problems with when diagnosing what appears to be a slow scenario where there may be blocking involved is determining what is blocking on SQL Server. Here is a query that I like to use. If there is no blocking occurring then this query will return nothing. This script works on SQL Server 2008, 2008R2, 2012, …