SqlServer2008 R2發佈訂閱

網上好多大神寫的貼子,本身也看着貼子弄的,寫的已經很詳細了,我就不重複寫了,貼上參考資料:

http://www.cnblogs.com/dudu/archive/2010/08/26/1808540.htmlhtml

https://www.cnblogs.com/lxblog/archive/2012/11/08/2760650.html服務器

 

SqlServer同步後,在不從新初始化快照的狀況下新增表:

https://www.cnblogs.com/datazhang/p/5498789.htmlspa

 

use XX_WB_XXX ;
go
EXEC sp_changepublication
@publication = 'XX_WB_XXX_Publisher',
@property = 'allow_anonymous' ,
@value = 'false'
GO
EXEC sp_changepublication
@publication = 'XX_WB_XXX_Publisher',
@property = 'immediate_sync' ,
@value = 'false'
GO

 

須要注意的是,兩臺作發佈訂閱的服務器,必須都新建一個同名的帳戶,並且密碼要相同!!

相關文章
相關標籤/搜索