SQL_GetInsertId Function

Returns the last query's insertion id.

int SQL_GetInsertId(Handle hndl)

Parameters

Handle hndl

A database, query, OR statement Handle.

Return Value

Last query's insertion id.

Errors

Invalid database, query, or statement Handle.