SQL_FieldNumToName Function

Retrieves the name of a field by index.

void SQL_FieldNumToName(Handle query, int field, char[] name, int maxlength)


Handle query

A query (or statement) Handle.

int field

Field number (starting from 0).

char[] name

Name buffer.

int maxlength

Maximum length of the name buffer.


Invalid query Handle, invalid field index, or no current result set.