查看表死锁
select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks
where resource_type = 'OBJECT'
结束死锁进程
kill 70
StephenJava ©著作权
查看表死锁
select object_name(resource_associated_entity_id) as tableName, request_session_id as pid from sys.dm_tran_locks
where resource_type = 'OBJECT'
结束死锁进程
kill 70
且就算我们知道问题出现是因为死锁了,我们也很难弄清楚为什么发生死锁,那么...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M