Wednesday
Aug182010
Get statement from sqlhandle
Wednesday, August 18, 2010 at 11:38PM I reverse-engineered a script I found on MSDN to get the actual SQL statement/sproc from a SQL handle. Note that the sqlhandle identifier is not passed as a literal.
Tallarico |
2 Comments | 
Reader Comments (2)
This is very useful. I use this especially to retrieve sql statements from deadlock graph xml.
Glad you found it helpful!
Thanks for visiting.