How to get the last sql query sent when error appear
Posted: Mon 08 Oct 2012 09:47
Hi,
I try to log the last sql query send to the database when an error appear. I looked at OnError event in TOraSession class but i don't know how to get the last sql query.
I try to log the last sql query send to the database when an error appear. I looked at OnError event in TOraSession class but i don't know how to get the last sql query.