SQL 复制 - 只需要复制订阅数据库现有表上的数据

SQL Replication - Need to replicate only data on exiting tables of the subscription database

我在Transactional Replication中有一个具体的要求,但我不确定它是否可以实现。如果有任何可能的方法可以实现同样的目标,你能帮帮我吗?

要求:

根据要求,将有两个数据库。一个是 publication database,另一个是 subscription database

我想将 publication database 的一些 tables (articles) 复制到 subscription database。但我想要的只是复制数据。因为我想让那些 tables (replicating tables) 始终出现在 subscription database 中,它们最初可能是空的 table,当复制开始时,这些 table 可能会从中获取数据publication database

但我不希望 replicationsubscription database 中为我创建这些 table。我想使用已经创建的 tables。它们将具有与 publication database tables.

相同的架构

配置发布时,您可以设置文章的属性。文章属性之一称为 Action if name in use。您可以将其设置为选项 保持现有对象不变