SQL Server Blocking Detection: Find Blocked Sessions
Mar 1, 2026 / · 5 min read · sql server blocking performance dm exec requests dm exec sessions wait types dba scripts monitoring query tuning ·Blocking in SQL Server occurs when one session holds a lock that another session needs, causing the second session to wait. This T-SQL script queries the dynamic management views to show all currently blocked sessions, the blocking session, wait type, wait duration, and the SQL text involved. Purpose and Overview When …
Read More