SQL_GetInsertId

Syntax

native SQL_GetInsertId(Handle:query);

Description

Returns the insert id of the last INSERT query.
Returns 0 otherwise.