Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Locking Information - Simple SQL


Here's a simple SQL to give you locking information.
The SQL tells you what resource type you are using, the object name, lock request mode, lock status, and also the calling program's name.
And all this from a simple query on sysprocesses, and syslockinfo!

Total article views: 638 | Views in the last 30 days: 1