On Wed, Jan 26, 2011 at 6:53 PM, Bella Chan <[email protected]> wrote:

> I want to confirm that it is true that I can't do bind_int on integer
> primary key.
>

Incorrect.  You can bind_int or bind_int64 on an integer primary key column
just like any other column.


>
> If I do "insert into functions values(?,?)" and use bind_int on the primary
> key, nothing is added to the table.


What does sqlite3_errcode(db) and sqlite3_errmsg(db) say after you run
sqlite3_step(pStmt) on the above?


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to