日期:2014-05-17  浏览次数:20376 次

SQL 复制脚本
发布:@sync_method = N'concurrent', @retention = 0, @compress_snapshot = N'false', @allow_subscription_copy = N'false', @add_to_active_directory = N'false', @repl_freq = N'continuous', @status = N'active', @independent_agent = N'true', @immediate_sync = N'true', @allow_sync_tran = N'false', @autogen_sync_procs = N'false', @allow_queued_tran = N'false', @allow_dts = N'false', @replicate_ddl = 1,  @enabled_for_p2p = N'false', @enabled_for_het_sub = N'false'
订阅:
@sync_type = N'automatic', @article = N'all', @update_mode = N'read only', @subscriber_type = 0
订阅代理
exec sp_addpushsubscription_agent @job_login = null, @job_password = null, @subscriber_security_mode = 1, @frequency_type = 64, @frequency_interval = 0, @frequency_relative_interval = 0, @frequency_recurrence_factor = 0, @frequency_subday = 0, @frequency_subday_interval = 0, @active_start_time_of_day = 0, @active_end_time_of_day = 235959,  @enabled_for_syncmgr = N'False', @dts_package_location = N'Distributor
这些语句有的都不知道什么意思,哪里可以查到,或者针对几个重要的,大神给解释一下吧

------解决方案--------------------
选中某一个不懂的单词,按F1
------解决方案--------------------
按F1,然后在【索引】页输入“复制”,如果是英文版,就输入"replication",然后看解释
------解决方案--------------------
把鼠标放到你不了解的存储过程上,比如:sp_addpushsubscription_agent ,然后按F1,就会调用帮助文件,你可以查看一下。

也可以直接查看帮助文件:


------解决方案--------------------
若有兴趣,可了解一下复制相关的存储过程,
http://technet.microsoft.com/zh-cn/library/ms174364(v=sql.105).aspx
------解决方案--------------------
参考这两篇文章有详细的解释:
http://technet.microsoft.com/zh-cn/library/ms188738.aspx
http://technet.microsoft.com/zh-cn/library/ms181702.aspx