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: Oracle equival to SQL Server @@IDENTITY

Re: Oracle equival to SQL Server @@IDENTITY

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Tue, 30 Sep 2003 21:36:15 GMT
Message-ID: <3F79F74F.A120DAE5@remove_spam.peasland.com>


> then you can return Next_Num as the newest ID# for further use.

Or, you could just code the INSERT as Daniel has done and if you need the newest ID#, then select CURRVAL from the sequence.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Tue Sep 30 2003 - 16:36:15 CDT

Original text of this message

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