Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Info about Oracle Sequences

Status
Not open for further replies.

soans

Technical User
Jul 21, 2000
14
0
0
US
I have a sequence used by multiple users. Some users want to generate blocks of continous sequential numbers at a time.
I believe I can generate these numbers with a loop statement.
I was wondering if the sequences can be locked when someone is accessing it so they can get the block of data they want without any interruption in the sequence.
Thanks
soans [sig][/sig]
 
No. If they need their own numbers, you will probably have to generate them programatically instead of via a sequence. [sig][/sig]
 
Depending on how many users you have and how often they access sequence, have you tried the cache option ?
I use Sql-Navigator front-end to set cache size, cache value enable and guaranteed order. It may work for your particular requirements ... [sig]<p>Best of Irish Luck, David.<br><a href=mailto:djwilkes@hotmail.com>djwilkes@hotmail.com</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top