当前位置: 代码迷 >> 综合 >> SQL查看死锁,清除死锁
  详细解决方案

SQL查看死锁,清除死锁

热度:41   发布时间:2024-02-08 09:17:26.0

-- 查询死锁
select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks
where resource_type = 'OBJECT'


kill 62

  相关解决方案