SQL Server error code
SQL Server error 4977
SQL Server raises error 4977 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 a CLR type column, but the source table '%.*ls' does not have an identical check constraint.
| Msg | 4977 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |