How to insert if not existing and update if existing (upsert)?
24417
"INSERT IGNORE" vs "INSERT ... ON DUPLICATE KEY UPDATE"
121066
How to check if list item already exist when adding it with
145332
Does MySQL overwrite a column of same value on update?
123697
Insert at specific resulting positions?
152204
Is INSERT RETURNING guaranteed to return things in the "right" order?
61636
Mysql: RENAME TABLE IF EXISTS
106184
try catch finally and inserting records
122501
Why does upsert cause a DUPLICATE_VALUE error?
13261
Return row only if value doesn't exist
108153
Preparing a MySQL INSERT/UPDATE statement with DEFAULT values
32901
Adding a constraint to prevent duplicates in SQL Update Trigger
34957
Idiomatic way to implement UPSERT in PostgreSQL
129009
Errors: "INSERT EXEC statement cannot be nested." and "Cannot use the ROLLBACK statement within an INSERT-EXEC statement." How to solve this?
86666
Edit file based on existence of a string
156813
PDO mysql: How to know if insert was successful
128594
Database.upsert - how to find which records have inserted/updated based on ExternalId
25838
Mysql create trigger if not exist