SQL Server Error Code – 4974 alter table switch statement failed. for

In this blog post, you’ll learn more about the SQL Server Error Code 4974 and the error message description that is shown

SQL Server Error Code

4974

SQL Server Error Description for the Code :4974

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.

Leave Your Comment