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: Problems with nextval and currval calling JAVA and Oracle 9i

Re: Problems with nextval and currval calling JAVA and Oracle 9i

From: Noel <tbal_at_go2.pl>
Date: Fri, 23 Jan 2004 15:18:47 -0000
Message-ID: <buraa6$c9$1@inews.gazeta.pl>

Uzytkownik "Alexander Vogl" <info_at_agrv.de> napisal w wiadomosci news:7ad87e73.0401220538.37c40c64_at_posting.google.com...
> Hello,
>
> need some Help.
> I'm will insert some data into some different tables at an Oracle 9i
> Database.
> Now I have create following sequence:
> CREATE SEQUENCE fid_seq start with 1

[...].

You don't need currval. Just store that nextval into a variable, and that variable is your currval :-)

--
Noel
Received on Fri Jan 23 2004 - 09:18:47 CST

Original text of this message

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