示例代码:
select spid, blocked, status, hostname, program_name, hostprocess, cmd from sysprocesses where dbid = db_id(‘xxx‘) and blocked > 0 -- kill spid_xxx
时间: 2024-10-07 15:27:06
示例代码:
select spid, blocked, status, hostname, program_name, hostprocess, cmd from sysprocesses where dbid = db_id(‘xxx‘) and blocked > 0 -- kill spid_xxx