Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql server list locks

SELECT resource_type, request_mode, resource_description
FROM sys.dm_tran_locks
WHERE resource_type <> ‘DATABASE’
Source by www.sqlshack.com #
 
PREVIOUS NEXT
Tagged: #sql #server #list #locks
ADD COMMENT
Topic
Name
5+8 =