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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Cascading triggers

Re: Cascading triggers

From: Jonathan Gennick <gennick_at_worldnet.att.net>
Date: 31 Jan 1999 01:11:51 GMT
Message-ID: <36b99f03.2570606@netnews.worldnet.att.net>


No, you can't reference table A's columns directly from a trigger on table B. What you probably could do is to move your trigger code into a package, and take advantage of the fact that package variables maintain their state throught a session.

Jonathan

On Fri, 29 Jan 1999 22:58:28 GMT, jbaker_at_powertrade.com wrote:

>I have table A on which I have an a_aiud_row trigger that contains an update
>statement for table B. Table B has b_aiud_row to update table C. My
>question: Is there any way in b_aiud_row to access a value from the updated
>row in table A? Obviously, I can access both the :NEW. and :OLD values from
>table B (as it is a ROW level trigger on table B), but I need a value from
>table A.
Received on Sat Jan 30 1999 - 19:11:51 CST

Original text of this message

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