What is the best way to find the SQL locks along wih the user associated with that lock in SQL Server 2008?
Run this against the master db:
SELECT spid,blocked,program_name,loginame,hostname,lastwaittype,* FROM master.dbo.SysProcesses WHERE blocked <> 0