Hi All
Just wanted to know if we can capture the actual query that failed while a stored procedure was executing.
I tried capturing Activity Count, SQL State, SQL code - but just in case wanted to know if we can caprture the Query TXT that failed.
All i am trying to do here is, i have a stored procedure which executes 100's of SQL's. Is setting the temp varaible to track it down during the EXIT HANDLER the only way to find out which query failed or is there a better way to track the particular statement which failed.
Any help would be greatly appriciated.
Thanks !
Anand
Forums: