SQL Server Error Code – 21731 cannot add a constraint or default witho

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

SQL Server Error Code

21731

SQL Server Error Description for the Code :21731

Cannot add a constraint or default without an explicit name, because the table is included in a publication that replicates DDL events. Specify a unique name for the constraint and then reissue the DDL statement.

Leave Your Comment