View Single Post

   
  #2 (permalink)  
Old 02-29-2008, 05:52 AM
dbmonitor
 
Posts: n/a
Default Re: Determine which user has locked a record

Use the sysprocesses table and check the blocked column. This column
will contain the process id of the process holding the lock. A simple
check for that process should tell you who has the lock.

--
David Rowland
MS SQL Server DBMonitor author
http://dbmonitor.tripod.com

Reply With Quote