How to record queries which create deadlock in SQL Server 2008 r2?

Answered How to record queries which create deadlock in SQL Server 2008 r2?

  • Wednesday, June 13, 2012 10:06 PM
     
     

    Hi,

    I am using SQL Server 2008 r2.

    I am having Deadlock problem when process usually executes a stored procedures. i want to know which specific queries are creating deadlock.

    Could you please inform me any script or an easy way through which I can do it?

    Thanks!

All Replies