公司拉夸系统的菜单是通过SqlServer存储的
今天在update菜单节点的时候尝试了事务处理
可能在处理的时候又进行了数据库某些操作进而导致了死锁
查询死锁进程
select request_session_id ,resource_associated_entity_id,OBJECT_NAME(resource_associated_entity_id) as tablename from sys.dm_tran_locks where resource_type='OBJECT'
终止正在继续的查询
还是存在一个进程(可能系统某个地方在继续对这个表进行查询)
直接kill
kill 56
之后即可正常查询