Page 1 of 1

Last SQL Statement

Posted: Mon 12 Feb 2007 23:21
by jfudickar
Hi,

is there a way to find out the last executed sql-statement (in case of exception for example)

Greetings and thanks
Jens

Posted: Tue 13 Feb 2007 15:12
by Plash
The TOraSQLMonitor component can be used for this goal. It allows you to view information about executed SQL statements in three ways: in dialog window, in Core Lab DBMonitor, or in Borland SQL Monitor. The TOraSQLMonitor component has the OnSQL event that you can use to process information about executed SQL statements.