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 to increased by exactly 1 ?

Re: How to increased by exactly 1 ?

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Mon, 24 Jan 2005 17:27:40 -0000
Message-ID: <41f52fe6$0$16573$cc9e4d1f@news-text.dial.pipex.com>


And then the lowest next available is 3 not 6. Incidentally nothing is said that requires the sequence to increment by 1 either. It could be

10,20,30,40,50 ...

-- 
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com
<rogergorden_at_gmail.com> wrote in message 
news:1106583400.074931.31940_at_f14g2000cwb.googlegroups.com...
>I agree, there isn't any business purpose to do this.

> The requirement; as stated; says, "The
> business rule is that the system should have an option to assign the
> lowest
> next available Control Code for the new item created."
> Lowest, next available, is sequence folks. If you're multiuser, it's
> the way to go.
> If you really try hard to have 1,2,3,4 etc, and someone deletes a row,
> what will happen
> if you then have 1,2,4,5 etc?
>
Received on Mon Jan 24 2005 - 11:27:40 CST

Original text of this message

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