In this blog post, let’s learn about the error message “21564 – The table %s contains the column msrepl_tran_version, which is used by replication. The column is set to NULL, but it must be set to NOT NULL. Replication failed to alter this column, so you must drop the column and then add the table as an article again using sp_addarticle. Replication will then add the column to the table.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.
SQL Server Error Message
21564 – The table %s contains the column msrepl_tran_version, which is used by replication. The column is set to NULL, but it must be set to NOT NULL. Replication failed to alter this column, so you must drop the column and then add the table as an article again using sp_addarticle. Replication will then add the column to the table.
Reason for the Error
To be update soon…
Solution
To be update soon…