sandhya <[EMAIL PROTECTED]> wrote:
In the following API, sqlite3_bind_text(pStmt, 1, "sample", -1, SQLITE_STATIC); What does the second argument referes to?
A query may have multiple parameters. Each is given an index, starting from 1. The second argument to sqlite3_bind_* is the index of the parameter you are binding. You must issue one sqlite3_bind_* call for each parameter in a query before you can step through it.
Igor Tandetnik
----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------