How can I detect lock escalation on a table in SQL Server 2005? We have a stored procedure processing 2000 records at a time using with (RowLock). We want to increase the number to whatever number that SQL Server won't escalate to a page or table lock, but I don't know how to check the lock status of table.
Thank you in advance for any helps.