Small. Fast. Reliable.
Choose any three.
Search for:

SQLite C Interface

Index Of A Parameter With A Given Name

int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName);

R-50811-36721:[Return the index of an SQL parameter given its name. ] R-37342-04007:[The index value returned is suitable for use as the second parameter to sqlite3_bind(). ] R-15063-51342:[A zero is returned if no matching parameter is found. ] R-53980-12800:[The parameter name must be given in UTF-8 even if the original statement was prepared from UTF-16 text using sqlite3_prepare16_v2(). ]

See also: sqlite3_bind(), sqlite3_bind_parameter_count(), and sqlite3_bind_parameter_name().

See also lists of Objects, Constants, and Functions.