You are on page 1of 1

How to Kill a Blocking Negative SPID in SQL Server

------------------------------------------

USE Master;

GO

SELECT

DISTINCT(request_owner_guid) as UoW_Guid--,*

FROM sys.dm_tran_locks

WHERE request_session_id =-2

KILL '1E082F52-F7EF-441E-B8C8-58CF7ABA4E51' -- replace GUID value with UoW_Guid value


from above query

Note: Ignore the UoW_Guid with starts with '0000-0000000'

You might also like