SQLite Insert or Replace

I have a table with three columns, identifier, description and key, where the identifier is not the primary key! I want to insert or update / replace the current record. Example: decryptionKeys ID Description Key 999 Birthday 12.24.1988

I tried this, but this will not work:

INSERT OR REPLACE INTO decryptionKeys VALUES ("999","Birthday","25.12.1988") WHERE ID="999" AND Description="Birthday"
+5
source share
1 answer

leave tr where is the offer

INSERT OR REPLACE INTO decryptionKeys VALUES ("999","Birthday","25.12.1988")
+7
source

All Articles