I'm trying to make a prepared statement and bind parameters to it, but
the documentation is very confusing. This is the statement I'm trying to
prepare:
UPDATE 'KEYS' SET 'IVAndKey'=:VVV WHERE "ItemID"=?NNN
Where IVAndKey is a BLOB and ItemID is an INTEGER and the primary key
for the table. I'm told that there is a syntax error near "NNN".

Also, are the correct binding calls:
sqlite3_bind_int(m_insert, 2, idItem);
sqlite3_bind_blob(m_insert, 1, p, DATA_KEY_RECORD_LENGTH, FreeBlob);
?

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to