###User Defined Function###
_SQLite_LastInsertRowID

###Description###
Returns the ROWID of the most recent insert in the database by this connection

###Syntax###
#include <SQLite.au3>
_SQLite_LastInsertRowID ( [$hDB = -1] )


###Parameters###
@@ParamTable@@
$hDB
	[optional] An open database, use -1 to use last opened database
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	ROWID.
Failure:	0.
@error:	1 - Error calling SQLite API 'sqlite3_last_insert_rowid'
	2 - Call prevented by SafeMode
@@End@@


###Remarks###
None.


###Related###
None.


###Example###
@@IncludeExample@@
