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: How get the current value from a sequence?

Re: How get the current value from a sequence?

From: Sybrand Bakker <sybrandb_at_hccnet.nl>
Date: Thu, 02 Dec 2004 22:11:52 +0100
Message-ID: <481vq0l3nt7n72sh5ujo59qnfghgn198a9@4ax.com>


On Thu, 2 Dec 2004 20:22:28 +0000 (UTC), weberm_at_polaris.net (Ubiquitous) wrote:

>AK <ak_tiredofspam_at_yahoo.com> wrote:
>
>:> > I don't want to gaps in the sequence.
>:>
>:> Then use a method that serializes on a table.
>:> Sequences guarantee uniqueness not completeness.
>:
>: I'd concur. For instance, Oracle comes with built in message queueing,
>: which comes very handy when you don't want gaps.
>:
>: But what is wrong with having gaps in your situation?
>
>One word. Auditors.
>
>

One response: Then don't use sequences.

--
Sybrand Bakker, Senior Oracle DBA
Received on Thu Dec 02 2004 - 15:11:52 CST

Original text of this message

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