In this blog post, let’s learn about the error message “20666 – Cannot refresh the identity range and/or the check constraint on the Publisher. Ensure the following: that the value in the identity column has not reached the maximum for the data type in the identity column; and that the user who made the last insert has the privileges to drop and re-create the check constraint.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
20666 – Cannot refresh the identity range and/or the check constraint on the Publisher. Ensure the following: that the value in the identity column has not reached the maximum for the data type in the identity column; and that the user who made the last insert has the privileges to drop and re-create the check constraint.
Reason for the Error
To be update soon…
Solution
To be update soon…