MERGE

suggest change

Introduction

MERGE (often called UPSERT for “update or insert”) inserts new rows or, if a row already exists, updates it. Some dialects also delete unmatched rows. The point is to do the whole set atomically. MySQL has no MERGE; it uses INSERT ... ON DUPLICATE KEY UPDATE.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents