SQL Server error code
SQL Server error 5316
SQL Server raises error 5316 at severity 16, which marks a problem with the query or data that you can correct.
The target '%.*ls' of the MERGE statement has an INSTEAD OF trigger on some, but not all, of the actions specified in the MERGE statement. In a MERGE statement, if any action has an enabled INSTEAD OF trigger on the target, then all actions must have enabled INSTEAD OF triggers.
| Msg | 5316 |
|---|---|
| Severity | 16 |
| Group | 5000–5999 |