SQL Server error code
SQL Server error 4976
SQL Server raises error 4976 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed. Target table '%.*ls' has a check constraint '%.*ls' on an XML column, but the source table '%.*ls' does not have an identical check constraint.
| Msg | 4976 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |