native

SQL_QueryError

Syntax

native SQL_QueryError(Handle:query, error[], maxlength);

Description

Gets information about a failed query error.

Parameters

query Handle of a query to extract the error from.
error Buffer where to store the error string.
maxlength The maximum length of the output buffer.

Return

The error code.