Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Sequence without holes

Re: Sequence without holes

From: Ubiquitous <weberm_at_polaris.net>
Date: Sun, 08 Dec 2002 07:33:11 -0600
Message-ID: <gw6dnQivNs6K126gXTWcpw@comcast.com>


In article <1j5uqu4r412rcqfjg4d978mhhal5qkimmc_at_4ax.com>, pbeliveau_at_avcorp.com wrote:

>I would like to have a sequence but as I understand it, if for some
>reason a user make a rollback or what so ever, I loose his sequence
>number.
>
>I don't want that. I want a sequence that has no hole, so if a user
>make a rollback, the next user that request a number would receive the
>number that was rolled back.

I don't think there's a way to do that, but getting the next number from the sequence last will help. :-)

-- 
======================================================================
ISLAM: Winning the hearts and minds of the world, one bomb at a time.
Received on Sun Dec 08 2002 - 07:33:11 CST

Original text of this message

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