SQL_FieldNumToName

Синтаксис

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

Употреба

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.

Описание

Retrieves the name of a column by its index.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

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