标签:死锁 lock 检索 ast pid rom use login master
use master
go
--检索死锁进程
select spid, blocked, loginame, last_batch, status, cmd, hostname, program_name
from sysprocesses
where spid in
( select blocked from sysprocesses where blocked <> 0 ) or (blocked <>0)
kill spid
标签:死锁 lock 检索 ast pid rom use login master
原文地址:http://www.cnblogs.com/dxqNet/p/7419579.html