SQL_FieldNameToNum

Синтаксис

native SQL_FieldNameToNum(Handle:query, const name[]);

Употреба

query
Handle of a query.
name
Name to search for.

Описание

Retrieves the number of a named column.

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

Column index if found (>= 0); -1 otherwise.

Грешка

Invalid query handle.
No result set in this query.