Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Need assist w/ BEFORE INSERT trigger
Martin Burbridge wrote:
> Ed Stevens <nospam_at_noway.nohow> wrote in message news:<oq0aa0hgbrsdhido89vo6p0i85igk31mu7_at_4ax.com>... >
> > > Good idea, you just need to wrap the sequence in a select e.g. > > select sq_msg_slno.nextval > into :new.msgrte_msg_seqnbr > from dual; > > On a side note why is the redundant line referencing old as old > ... etc so common, is it from the docs?
I didn't see the original post, but if this is about how you get automatically-assigned incrementing sequence numbers, see posts passim in the reuse of index blocks thread here, or visit www.dizwell.com and check out the Basic Admin FAQ's first few questions.
Sorry if it's not relevant, either. Feel free to ignore.
Regards
HJR
Received on Sat May 15 2004 - 01:05:24 CDT