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: Unique sequence generator with reclaim

Re: Unique sequence generator with reclaim

From: Noodles <noodles_at_aol.com>
Date: 30 Dec 1999 02:30:37 GMT
Message-ID: <19991229213037.09102.00001841@ng-xa1.aol.com>


One way would be to create a dictionary table of all possible sequence numbers ( assuming it's a finite list) and have a trigger:

We've used this model in a current production application but the number list was only from 000001 to 999999 due to certain business formatting rules. The dictionary table also grabbed user information such as who took what number when and if any number was placed back in the available pool.

There was a little hit on performance in acessing the dictionary table all of the time but with proper indexing it worked fine.

Cliff Received on Wed Dec 29 1999 - 20:30:37 CST

Original text of this message

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