Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Finding out latest SQL

Re: Finding out latest SQL

From: Anthony Hogan <ahogan-nospam-_at_iespana.es>
Date: Wed, 31 Jul 2002 10:33:50 +0000
Message-ID: <3D47BD0E.BCCEDC2A@iespana.es>


AB,
Have a look at v$sql/v$sqlarea/v$sqltext (I'm not sure what the difference is). In particular you would be interested in the sql_text and parsing_user_id columns. The parsing_user_id value can be found in dba_users.

Hth.
Anthony Hogan

AB wrote:
>
> How can I find out the SQL query string
> executed by user 'XY' five minutes ago?
Received on Wed Jul 31 2002 - 05:33:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US