| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.tools -> Problem with Sequences in Oracle 8.0.5
Have an inventory database running on NT4/Oracle 8.0.5.0.0.
The GUI is programmed in Delphi 5 / Odac (ODI)
For continuous number series I use Oracles's sequence "machinery", like
this:
select SEQ_INV_NR.nextval from DUAL
Now the select statement has begun returning higher numbers than expected - typically 20 higher!
Originally the sequence was created like this :
CREATE SEQUENCE SEQ_INV_NR
START WITH 214575
INCREMENT BY 1
NOMAXVALUE
NOCYCLE
CACHE 20
I suspected the cache part, dropped the sequence and recreated it without
cache - no good.
Has anybody got a clue!
Best regards from Eyvind. Received on Mon Aug 06 2001 - 06:35:31 CDT
![]() |
![]() |