SQL_GetInsertId

Syntax

native SQL_GetInsertId(Handle:query);

Usage

query
Handle of a query.

Description

Retrieves the instert ID of the latest INSERT query.

Return

The insert ID of the latest INSERT query.

Error

Invalid query handle.