Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Problems with nextval and currval calling JAVA and Oracle 9i
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 :-)
-- NoelReceived on Fri Jan 23 2004 - 09:18:47 CST