LISTLOCKS
Returns a list of all users who have locks on blocks for the currently selected database.
Syntax
LISTLOCKS [appName dbName]
| Parameter | Description |
|---|
appName dbName | Optional. Both parameters required if no application and database are selected. |
Example
LISTLOCKS;