Getting Procedure/Table names using SPID | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Getting Procedure/Table names using SPID

Hi Guys,<br />Is there a way i can get the stored procedures/tables involved in the deadlock chain below using the SPID since it’s not showing in the texdata column or is there s’thing i lef out<br />Thanks.<br /><br />Event Class EventSubClass TextData<br /><br />SQLTransaction Begin<br />Lock:Acquired2006-05-22 17:17:47.707<br />SQLTransaction2006-05-22 17:17:47.707 Commit<br /><br /><br />Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain 101Deadlock Chain SPID = 64<br /> <br />Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain 101Deadlock Chain SPID = 62<br /> <br />Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain 101Deadlock Chain SPID = 60<br /> <br />Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain 101Deadlock Chain SPID = 62<br /> Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain 101Deadlock Chain SPID = 53<br /> <br />Lock<img src=’/community/emoticons/emotion-2.gif’ alt=’:D‘ />eadlock Chain<br /> <br />
Learn how to avoid Deadlocks
http://sql-server-performance.com/deadlocks.asp
Madhivanan Failing to plan is Planning to fail
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q169960&
http://www.devx.com/DevX/Link/16486 —————————————-
http://dineshasanka.blogspot.com/

http://www.developer.com/db/article.php/10920_3490086_2 to use the PROFILER to cpature more information in this regard. Satya SKJ
Microsoft SQL Server MVP
Contributing Editor & Forums Moderator
http://www.SQL-Server-Performance.Com
This posting is provided “AS IS” with no rights for the sake of knowledge sharing.
Thanks for the links pple.What i wanted to know is the stored procedures and tables involved using SPID.so that i can now resolve the issue.
Then … check with Profiler. Satya SKJ
Microsoft SQL Server MVP
Contributing Editor & Forums Moderator
http://www.SQL-Server-Performance.Com
This posting is provided “AS IS” with no rights for the sake of knowledge sharing.
]]>