In this blog post, let’s learn about the error message “4960 – ALTER TABLE SWITCH statement failed. Check constraint ‘%.*ls’ in source table ‘%.*ls’ is NOCHECK constraint but the matching check constraint ‘%.*ls’ in target table ‘%.*ls’ is CHECK.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
4960 – ALTER TABLE SWITCH statement failed. Check constraint ‘%.*ls’ in source table ‘%.*ls’ is NOCHECK constraint but the matching check constraint ‘%.*ls’ in target table ‘%.*ls’ is CHECK.
Reason for the Error
To be update soon…
Solution
To be update soon…