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: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Mon, 01 Mar 2004 08:33:16 -0800
Message-ID: <1078158762.827202@yasure>


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?
> When a session connects to database, its information will be stored in
> a table &#8220;Session_Tracing (id, text)&#8221;.
> And when the session log off, its information will be deleted from
> the table &#8220;Session_Tracing&#8221;.
> How should we do that?
>
>
> Any ideas will be great.
>
> Jaffery

Easy done with a AFTER LOGON trigger.

Information about them at tahiti.oracle.com and a simple demo at: http://www.psoug.org/reference/system_trigger.html

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Mon Mar 01 2004 - 10:33:16 CST

Original text of this message

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