Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Record Numbers in Oracle Tables

Re: Record Numbers in Oracle Tables

From: Peter Laursen <ptl_at_edbgruppen.dk>
Date: 11 Oct 1999 11:04:14 GMT
Message-ID: <01bf13e1$3abc1fc0$2c289a0a@apollo>


The syntax would be like this:

insert into table (...)
values (...)
returning <returnfield> into :returnvalue

returnfield should be your record id.

Peter Laursen

Ian Steward <isteward_at_mediaone.net> skrev i artiklen <IVUL3.9985$Ud2.334442_at_typhoon1.rdc-detw.rr.com>...
> Is there a way to return the record id after an INSERT or UPDATE ? I am
> looking for a similar capability to the IDENTITY function in SQL Server.
>
> - Ian Steward
>
>
>
Received on Mon Oct 11 1999 - 06:04:14 CDT

Original text of this message

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