t-sql-upserts-merge
Use when writing or reviewing an upsert or MERGE for Azure SQL Database: insert or update, ON CONFLICT, lost writes or 2627 under load. Has verified behavior common answers miss, e.g. a bare MERGE loses writes under concurrency.
Pinned to revision 3224561abf68, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/t-sql-upserts-merge/SKILL.md
- skills/t-sql-upserts-merge/references/merge-hazards-and-concurrency.md
Every link opens the file at its source, pinned to the revision this page describes.