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: Retrieving the key of a newly inserted record

Re: Retrieving the key of a newly inserted record

From: Claus Scherschel <claus_scherschel_at_operamail.com>
Date: 20 Dec 2002 20:11:02 GMT
Message-ID: <Xns92EAD76DB4CB5clausscherschelarcor@130.133.1.4>


Galen Boyer <galenboyer_at_hotpop.com> wrote in news:u7ke4zczb.fsf_at_standardandpoors.com:

> On insert use seq_name.nextval then in same session you can ask
> for seq_name.currval.

Wow, that was pretty fast. If I understand you correctly, I have to retrieve the seq-name.currval value within my stored procedure?

A thousand thanks, this sounds good to me.

Regards, Claus. Received on Fri Dec 20 2002 - 14:11:02 CST

Original text of this message

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