Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Sequence Duplicate values ??
Using currval when you meant to use nextval. Using a sequence with CYCLE and MAXVALUE set Either way its a design/coding error -
If the sequence is defined to avoid duplicates, and the code does not re-use the value, then it is NOT possible to get duplicates.
(There is an article on sequences on my web site under FEATURES)
--
Jonathan Lewis
Yet another Oracle-related web site: http://www.jlcomp.demon.co.uk
Jonathan Gennick wrote in message
<380f0516.224842558_at_netnews.worldnet.att.net>...
>
>Short of recreating the sequence with a beginning value that
>has already been used before, I don't know _any_ way to do
>this.
Received on Sun Oct 17 1999 - 13:33:53 CDT
![]() |
![]() |