We have replication setup on a database and is working fine.

Now we want to update the database on publisher. So using installer we updated the database but we are getting errors like cannot update table as table is in use.

So how can we update the database which is part of replication?

有帮助吗?

解决方案

DML changes (insert, update, delete) will work as expected and replicate to subscribers. By default schema changes (DDL) will be propagated to subscribers on synchronization, publication property @replicate_ddl must be set to true. There are some exceptions which can be found in Making Schema Changes on Publication Databases.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top