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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: shared database sequence.

Re: shared database sequence.

From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Mon, 26 Feb 2007 17:46:33 +0100
Message-ID: <45E30EE9.1080502@google.com>


Gints Plivna schrieb:
> In case you need not to get overlapping values you can simply define
> one sequence with values starting from 1 to very big number and the
> other from the very big number till very big number * 2
> Or the other with just start with -1 increment by -1
>
> Of the overlapping sequences is not the case, then what is the problem?
>
> Gints Plivna
> http://www.gplivna.eu
>
>

Simply varying start with and increment by should do that equally well - 1st : start with 1 increment by 2
2nd: start with 2 increment by 2
Similarly can be done for generating unique numbers among more than 2 servers.

Best regards

Maxim

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 26 2007 - 10:46:33 CST

Original text of this message

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