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: Row-Trigger question (Oracle 8)

Re: Row-Trigger question (Oracle 8)

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Thu, 11 Nov 2004 20:42:26 -0800
Message-ID: <1100234469.840725@yasure>


Michael Kreitmann wrote:

> Hello,
>
> I've a question about row triggers under oracle.
> If I define the trigger "FOR EACH ROW", the trigger will be fired n-times
> if the firing statement will hit n records. Is there any unique ID or hash-code
> or anything else, that is equal for all of these n executions of this trigger
> (and only for these n executions ? - the next statement firing the trigger
> must produce a new (unique) ID ...)
> Many thanks for your advice!
>
> Regards
> Michael

I do not understand your question so I'm just going to guess.

If your trigger contains sequence_name.NEXTVAL ... each firing of the trigger will retrieve a new number from the sequence.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Nov 11 2004 - 22:42:26 CST

Original text of this message

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