Home Forums SQL Server 2005 T-SQL (SS2K5) How do I determine what process causes a lock with request_session_id = 0? RE: How do I determine what process causes a lock with request_session_id = 0?

  • User the value here, request_owner_id , to look at sys.dm_exec_requests. From there you can join to sys.dm_exec_sql_text or whatever else you need to understand what's happening with that lock.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning