-- 查询死锁
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
SQL查看死锁,清除死锁
最新推荐文章于 2024-07-06 08:00:00 发布
-- 查询死锁
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