An object that can generate unique integers.

An object that can generate unique integers. Usually these are sequentially increasing numbers, but could be decreasing, incrementing by more than 1 for each, etc.

Normally this is used to provide a highly scalable and well-performing method for generating surrogate keys. Note that a sequence could potentially have "gaps" (particularly Oracle) due to caching of generated sequences of numbers.

history | excerpt history