Peter Holmes-4 wrote: > > Yep. Works great! For example: > > sqlite3_prepare_v2(db,"INSERT INTO ans VALUES (?,?);",-1,stmt,NULL); > sqlite3_bind_text(stmt,0,"Peter's",-1,SQLITE_STATIC); > sqlite3_bind_text(stmt,1,"Reply",-1,SQLITE_STATIC); > sqlite3_step(stmt); > sqlite3_reset(stmt); >
so ?,? represent columns to be filled in right? and stmt,0 is column 0 and stmt,1 is column 1? and the -1 is add to end of db? -- View this message in context: http://www.nabble.com/SQLITE_prepare-bind-to-exnter-data-or-just-query--tp18977257p18982253.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

