示例代码:
select spid, blocked, status, hostname, program_name, hostprocess, cmd
from sysprocesses
where dbid = db_id('xxx') and blocked > 0
-- kill spid_xxx
2022-04-02 13:30:51
示例代码:
select spid, blocked, status, hostname, program_name, hostprocess, cmd
from sysprocesses
where dbid = db_id('xxx') and blocked > 0
-- kill spid_xxx
下一篇:阿里云上如何创建应用一致性快照