How to see SQL 2008 Locks and Blocked Tables

守給你的承諾、 提交于 2019-12-05 07:55:06

You can query against the sys.dm_tran_locks dynamic view to obtain this information. Go here on MSDN to lean more.

exec sp_lock

and

exec sp_who2

sp_who2 is a newer version of sp_who

all you have to do is execute this

sp_who

tells you everything you need to know.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!