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: Trigger Question

Re: Trigger Question

From: DA Morgan <damorgan_at_psoug.org>
Date: Wed, 21 Dec 2005 10:53:07 -0800
Message-ID: <1135191172.168250@jetspin.drizzle.com>


amerar_at_iwc.net wrote:
> Hey All,
>
> Quick question here:
>
> Say I have Schema S1, with Table T1. I have a public synonym on T1, as
> well as a trigger on T1.
>
> I log in as user #2 in Schema T2 and insert a value into table T1.
>
> When the trigger fires, does that create a new session? Or, is the
> session owned by user #2?
>
> Thanks

The session is the session. The behaviour would only change if the trigger were created with PRAGMA AUTONOMOUS_TRANSACTION.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Wed Dec 21 2005 - 12:53:07 CST

Original text of this message

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