SQL_FieldNameToNum
Retrieves a field index by name.
native bool SQL_FieldNameToNum(Handle query, const char[] name, int& field)Parameters
A query (or statement) Handle.
const char[] name
Name of the field (case sensitive).
int& field
Variable to store field index in.
Return Value
bool True if found, false if not found.Error
Invalid query Handle or no current result set.