Set the Last Insert Rowid value.

Small. Fast. Reliable.
Choose any three.

## SQLite C Interface

## Set the Last Insert Rowid value.

>     void sqlite3_set_last_insert_rowid(sqlite3*,sqlite3_int64);

The sqlite3_set_last_insert_rowid(D, R) method allows the application to set the value returned by calling sqlite3_last_insert_rowid(D) to R without inserting a row into the database.

See also lists of Objects, Constants, and Functions.