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