/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT session_id , exec_context_id , wait_type , wait_duration_ms , blocking_session_id FROM sys.dm_os_waiting_tasks WHERE session_id > 50 ORDER BY session_id, exec_context_id