Hi all
I need to find a quick way of seeing what SPROCS on my reporting repository database (SQL 2005) are creating locks on tables.
I have run sys.dm_tran_locks I can identify the table which has a lock on it but not the statement that caused it.
I don't want any locks in my database as it is read only and only used for reporting purposes.
Thanks in advance.
Rob Glover.