in reply to Getting first unused integer from a sqlite integer column
You don't want to do that, that would cause race conditions. Use a sequence or an automatically incrementing column, for the latter in SQLite, see http://www.sqlite.org/autoinc.html.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting first unused integer from a sqlite integer column
by mhearse (Chaplain) on Oct 21, 2010 at 19:32 UTC |