SQL Server Error Msg 4972 – 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’.

In this blog post, let’s learn about the error message “4972 – 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’.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

4972 – 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’.

Reason for the Error

To be update soon…

Solution

To be update soon…