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.
是否有一些方法可以查询系统表以确定哪些表正在使用哪些锁定方案?我查看了sysobjects中的列,但没有跳出任何内容。
啊,只是个白痴:
SELECT name, lockscheme(name) FROM sysobjects WHERE type="U" ORDER BY name
查看 syslockinfo 和 syslocks 系统表,您还可以运行 sp_lock proc