SQL Server error code
SQL Server error 8672
SQL Server raises error 8672 at severity 16, which marks a problem with the query or data that you can correct.
The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows.
| Msg | 8672 |
|---|---|
| Severity | 16 |
| Group | 8000–8999 |