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 -> Autoincremented id - how do I read it after insert?

Autoincremented id - how do I read it after insert?

From: kev <kevin.porter_at_fast.no>
Date: Wed, 01 Sep 1999 16:26:15 +0100
Message-ID: <37CD4597.D651A515@fast.no>


Hi,

I have autoincremented id fields on several tables (using triggers and sequences).
For some of them, I need to know the id value of the record I have just inserted, so that I can then insert a reference to that record in a 'link' table (resolved many-many links). What's the best way of doing this?

TIA, kev Received on Wed Sep 01 1999 - 10:26:15 CDT

Original text of this message

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