Home‎ > ‎

Using DB sequences for sequential unique number generation

posted Dec 29, 2011, 5:46 AM by Allen Gattis
I find myself needing to generate a unique number from time to time. When you've got multiple processes requesting this number, you better use a thread-safe method, and that seems to be done easily by a database sequence.