> I couldn't get parameters to work at all. I assume they're just not implemented > in 2.x sqlite. Prepared statements are implemented in SQLite 2.8.x. See sqlite.h for exact API and how to use it. Its very similar to SQLite3 API. Something along the lines of sqlite_compile/sqlite_bind/sqlite_step/sqlite_reset/sqlite_finalize.IIRC comments in sqlite.h are only docs for that API.
wow. Imagine that. Documentation in the source! ;)