Last SQL Statement

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Last SQL Statement

Post by jfudickar » Mon 12 Feb 2007 23:21

Hi,

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

Greetings and thanks
Jens

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 13 Feb 2007 15:12

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.

Post Reply