Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sequence Number
> There is a "gap" in the retrieval of sequence number from a Sequence
> Table created in Oracle8.
>
Seqences do not guarantee to put out consecutive numbers. They only guarantee to put out unique numbers. There can be many reasons for these gaps:
Another trigger/procedure etc. uses the same sequence, there are transactions that have used numbers from this sequence but have been rolled back etc...
If you want to have consecutive numbers, you must make your own table where you manually update the sequence.
Peter
--
mailto:peter@icb.co.at http://peter.icb.co.at AOL-IM: Buzanits Keys available on PGP-Servers ---------------------------------------------------Received on Fri May 21 1999 - 04:16:56 CDT
![]() |
![]() |