int Ns_DbColumnIndex( Ns_DbTableInfo *tinfo, char *name );
The Ns_DbColumnIndex function returns the index of a column within the table referenced by the given Ns_DbTableInfo structure. The index is a required parameter for the other Ns_DbColumn functions.