RE: [sqlite] "bind or column index out of range" when using :AAA notation?

2006-03-18 Thread Boris Popov
: Saturday, March 18, 2006 8:49 PM To: sqlite-users@sqlite.org Subject: [sqlite] "bind or column index out of range" when using :AAA notation? In the following prepared statement, SELECT * FROM STUFF WHERE ID = :2 OR ID = :17 Trying to determine index of ":17" via sqlite3_bind_par

[sqlite] "bind or column index out of range" when using :AAA notation?

2006-03-18 Thread Boris Popov
In the following prepared statement, SELECT * FROM STUFF WHERE ID = :2 OR ID = :17 Trying to determine index of ":17" via sqlite3_bind_parameter_index results in 'bind or column index out of range' exception. Am I misreading the docs again? ;) Quote: "... one or more literals can be replace by