Quantcast
Channel: alvinalexander.com - field
Viewing all articles
Browse latest Browse all 31

SQLite autoincrement - How to get the autoincrement value from the last insert

$
0
0

SQLite autoincrement FAQ: How do I get the autoincrement value from my last SQLite INSERT command?

You can get the integer value of the primary key field from the last insert into an autoincrement field using a SQLite function named last_insert_rowid(), as shown here.

read more


Viewing all articles
Browse latest Browse all 31

Trending Articles