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: SQL TRACING FOR A PARTICULAR SESSION.

Re: SQL TRACING FOR A PARTICULAR SESSION.

From: Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl>
Date: Tue, 02 Mar 2004 22:57:02 +0100
Message-ID: <gm0a40dppnlqe3nlfvo6o2nhql02hgbprf@4ax.com>


On 1 Mar 2004 01:50:25 -0800, maulana1_at_hotmail.com (Jaffery) wrote:

>Hi,
>
>I like to say that, I wanted to enable SQL Tracing for a particular
>session implicitly, when it connects to database.
>Is that possible?

Yes, in 8i and higher, by means of an after logon trigger

>When a session connects to database, its information will be stored in
>a table &#8220;Session_Tracing (id, text)&#8221;.

This is not possible. Why would it? You have a trace file and that should be sufficient.

> And when the session log off, its information will be deleted from
>the table &#8220;Session_Tracing&#8221;.

So the whole operation is pretty useless

>How should we do that?
>
>
>Any ideas will be great.
>
>Jaffery

--
Sybrand Bakker, Senior Oracle DBA
Received on Tue Mar 02 2004 - 15:57:02 CST

Original text of this message

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