flakpit wrote:

> Peter, sorry to be a nuisance but, can you update the same way? I've not
> idea how that statement would look with this way of doing things

Yep:

sqlite3_prepare_v2(db,"UPDATE ans SET col1=?, col2=?;",-1,&stmt,NULL);
sqlite3_bind_text(stmt,1,"Peter's",-1,SQLITE_STATIC);
sqlite3_bind_text(stmt,2,"Reply",-1,SQLITE_STATIC);
sqlite3_step(stmt);
sqlite3_reset(stmt);
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to