last sql-statement in a session

From: Jochen Stappert <Jochen.Stappert_at_deutschepost.ch>
Date: 6 Jun 2001 01:04:29 -0700
Message-ID: <420e7ba8.0106060004.2b9cf074_at_posting.google.com>


Hallo!

How can I get the last sql-statement that a user startet in a given session? I need this for an error-handler in a C++-application that works with an oracle database(8.1.7). If an error occurs I can get the error message but not the statement that raises this error. But for diagnostic it where very helpfull to get the statement that raises the error.

Thank you for any help,

Jochen Stappert Received on Wed Jun 06 2001 - 10:04:29 CEST

Original text of this message