How to get text of Last SQL Query
Sorry if this has been covered, but the search page keeps erring on me.
I am trying to figure out how to get the text of the last SQL statement executed (succesfully or unsuccesfully) by my current login.
What it is, is i want in the exception handler of my procedure to be able to dump the text of the Query which was last run into the log file.
Any help with this will be greatly appreciated!
Thanks in advance,
Aaron.
aabdis@mecnet.com