SQL Server error code
SQL Server error 4974
SQL Server raises error 4974 at severity 16, which marks a problem with the query or data that you can correct.
ALTER TABLE SWITCH statement failed. Foreign key constraint '%.*ls' is NOCHECK in source table '%.*ls' and the corresponding constraint '%.*ls' is CHECK in target table '%.*ls'. The source table constraint must be in CHECK.
| Msg | 4974 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |