You need a script to change your change in T-SQL statements, as SQL Server Management Studio will try to delete and recreate the table, not just add an extra column.
You will also need to add a new column to your posts.
Note that modifying a column in this way can be detrimental to Replication performance. Depending on the size of the table you are modifying, it can lead to replication of a lot of data. Please note that although the table can be modified in one statement, if 1 million rows are affected, then 1 million updates will be created on the subscriber, and not one update operator, as is commonly believed.
Hands, an improved approach to work ........
To complete this exercise you need to:
- Back up your replication environment by completing the entire configuration.
- Remove table from replication in as publishers / subscribers
- Add a column to each Publisher / Subscriber.
- Apply the update locally on each Publisher / Subscriber.
- Add the table back to replication.
- Confirm that the transaction is replicated.
John sansom
source share