dimanche 27 septembre 2015

INSERT VALUE WHERE NOT EXIST with Sqlite?

Does this kind of statement:

INSERT INTO table (...)
VALUES (...) 
WHERE NOT EXISTS (...)

exists using Sqlite3? I'm trying to create and populate a database using android and sqlite 3 and I struggle to add a value with the WHERE NOT EXISTS condition. The answer I found on StackOverflow are not working with sqlite. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire