Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SQL.SQLite3.LastInsertRowID

For SQLite3, returns the last row ID used.

Component Version macOS Windows Linux Server iOS SDK
SQL 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SQL.SQLite3.LastInsertRowID"; Connection )   More

Parameters

Parameter Description Example
Connection The connection reference number gained with SQL.NewConnection. $Connection

Result

Returns the ID or error message.

Description

For SQLite3, returns the last row ID used.

see also
http://www.sqlite.org/c3ref/last_insert_rowid.html

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


SQL.SQLite3.EnableLoadExtension - SQL.SQLite3.MemoryHighwater