SQLServer 事务复制中使用脚本添加某个对象的发布
原文: SQLServer 事务复制中使用脚本添加某个对象的发布 -- use [发布库] --添加表:创建项目并将其添加到发布中 exec sp_addarticle @publication = N'ReplicationName', @article = N'MyObject', @source_owner = N'dbo', @source_object = N'MyObject', @destination_owner = N'dbo', @destination_table = N'MyObject', @schema_option = 0x0000004008037FDF, --项目属性(自参考) @status = 0, @description = N'', --default @type = N'logbased', --default @creation_script = null, --default @pre_creation_cmd = N'drop', --default @vertical_partition = N'false', --default ...