Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
自昨晚以来,两张不同的桌子上都有锁。从 Synapse 专用池中的表中删除锁的查询是什么?
提前致谢
运行此查询以查找表上任何锁的 session_id:
SELECT * FROM sys.dm_pdw_lock_waits WHERE object_name in ('table_name')
在您的屏幕截图中,它是 SID52295
要杀死它,请运行:
KILL 'SID52295' GO