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: Tracing SQL Statements Behind a Form

Re: Tracing SQL Statements Behind a Form

From: Sybrand Bakker <sybrandb_at_hccnet.nl>
Date: Tue, 13 Jul 2004 22:53:35 +0200
Message-ID: <oti8f09h984hjkd03slg6gnpipcff9a5fd@4ax.com>


On 13 Jul 2004 06:08:43 -0700, edward.mcmonagle_at_ntu.ac.uk (Ed_Zep) wrote:

>Hello.
>
>Can anyone please tell me the best way to trace the SQL goings-on
>behind the scenes of a form?
>
>I'm not after tuning information, just the actual SQL being run.
>
>I've tried execute sys.dbms_system.set_ev (sid,serial#,10046,8,'');
>
>which gives a lot of information that I'm not looking for (e.g.
>waits).
>
>Is there a way of getting just the SQL?
>
>Many thanks.
>
>Ed McMonagle.
>UK.

dbms_system.set_sql_trace_in_session

or replace 8 by 1.

--
Sybrand Bakker, Senior Oracle DBA
Received on Tue Jul 13 2004 - 15:53:35 CDT

Original text of this message

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