SQL 名称正在使用时的服务器复制操作问题

SQL Server Replication Action if name is in use questions

在配置新的合并复制、设置所有文章的属性时,我遇到了问题。在 Destination Object -> Action if name is in use 中,我可以 select 四个不同的选项。我想弄清楚每一个是什么。我没有找到任何相关信息,它们是:

文章 属性 Action if name is in use@pre_creation_cmd 参数相关=11=]:

Specifies what the system is to do if the table exists at the subscriber when applying the snapshot. pre_creation_cmd is nvarchar(10), and can be one of the following values.

none - If the table already exists at the Subscriber, no action is taken.

delete - Issues a delete based on the WHERE clause in the subset filter.

drop (default) - Drops the table before re-creating it. Required to support Microsoft SQL Server Compact Subscribers.

truncate - Truncates the destination table.