Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!sn-xit-02!sn-xit-10!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: DA Morgan <damorgan@x.washington.edu>
Newsgroups: comp.databases.oracle.misc
Subject: Re: Row-Trigger question (Oracle 8)
Date: Thu, 11 Nov 2004 20:42:26 -0800
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <1100234469.840725@yasure>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <987ebcdd.0411110035.2ee89cc6@posting.google.com>
In-Reply-To: <987ebcdd.0411110035.2ee89cc6@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cache-Post-Path: yasure!unknown@oracle.advtechserv.com
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
X-Complaints-To: abuse@supernews.com
Lines: 24
Xref: dp-news.maxwell.syr.edu comp.databases.oracle.misc:114212

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@x.washington.edu
(replace 'x' with 'u' to respond)
