Hello, I've a little question about sqlite3_prepare_v2 :
I would like to do this : const char *zSql = "INSERT INTO ?(ID, MyData) VALUES('1',?)"; if(ppStmt) { sqlite3_bind_parameter_name(ppStmt, "atest"); sqlite3_bind_blob(ppStmt, 2, &blob, sizeof(blob), SQLITE_TRANSIENT); sqlite3_step(ppStmt); sqlite3_finalize(ppStmt); } So then I've just to bind values.. It works great for the second '?' which is a blob, so bind_blob(), but for the first one I don't really know what to use ? Maybe the '?' syntax is incorrect? I've not understood everything about it.. Regards -- View this message in context: http://old.nabble.com/Unknown-parameter-for-prepare_v2-tp31653746p31653746.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users