native

SQL_FieldNumToName

Syntax

native SQL_FieldNumToName(Handle:query, num, name[], maxlength);

Description

Retrieves the name of a column by its index.

Parameters

query Handle of a query.
num The number (index) of a column to retrieve the name from.
name Buffer where to store the column's name.
maxlength Maximum length of the output buffer.

Return

This function has no return value.

Error

Invalid query handle.
No result set in this query.
Invalid column index.