SQL Server error code
SQL Server error 4972
SQL Server raises error 4972 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed. Check constraints or partition function of source table '%.*ls' allows values that are not allowed by check constraints or partition function on target table '%.*ls'.
| Msg | 4972 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |