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: DA Morgan <damorgan_at_x.washington.edu>
Date: Thu, 02 Dec 2004 16:04:43 -0800
Message-ID: <1102032184.15068@yasure>


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.

Auditors should not care. If they do then one of two situations exist.

  1. They are incompetent
  2. Your system does not comply with Sarbanes-Oxley

(of course assuming you are in the US).

Consecutive numbers are not a requirement. Not being able to fake entries is.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Dec 02 2004 - 18:04:43 CST

Original text of this message

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