v5:reference:connection:genid
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
reference:genid [2015/07/24 21:57] – mnewnham | v5:reference:connection:genid [2016/03/20 02:11] (current) – [Limitations] mnewnham | ||
---|---|---|---|
Line 8: | Line 8: | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | The function '' | + | The function '' |
The optional parameters control the sequence name and the start number for the sequence. The return value is the sequence number. | The optional parameters control the sequence name and the start number for the sequence. The return value is the sequence number. | ||
Line 24: | Line 24: | ||
*/ | */ | ||
</ | </ | ||
+ | ===== Limitations ===== | ||
+ | In databases that do not support sequences, they are emulated by insertion and updating table rows. Because the method provides no row locking, its use is not recommended in intense multi-user environments as duplicate sequence numbers may be returned. | ||
+ | |||
v5/reference/connection/genid.1437767855.txt.gz · Last modified: 2017/04/21 11:35 (external edit)