Groups | Blog | Home
all groups > sql server replication > march 2006 >

sql server replication : Issue when my Merge Publisher DB is Subscriber for Trans Replicati


PRADEEP M.M.
3/26/2006 2:46:16 PM
Hi,

I have Database which is configured as a Merge Publisher , This database
has 3 Tables Employee,Dept and Country. All these 3 tables are repliated to
another database for high availability purpose using Merger Replication.

The Merge Publisher is also an Subscriber for another Transactional
Publication, where in only Country Table is being pulled.

My issue is When i add a new record in for a new country in the
Transactional Pulisher the data gets populated to my Merge Publisher but it
dosent get pushed to the Merge Subscriber automatically, i have to explisitly
run sp_addtabletocontents for the country table to get the new record pushed
to Merge Subscriber.

This has become an additional overhead , due to this am never sure that both
Merge Publisher and Subscriber have exact data.

Can some one provide the solution for this.

Regards
Vijay TS
3/27/2006 1:01:02 PM
Please verify if the @published_in_tran_pub bit is set for the articles
you can take a look at the sysmergearticles table for it
If you can enable it by specifying @published_in_tran_pub='true' using
sp-addmergeartice or sp_changemergearticle
--
“This posting is provided "AS IS" with no warranties, and confers no rights.”


[quoted text, click to view]
PRADEEP M.M.
3/27/2006 9:12:01 PM
Hi Vijay,

Excellent Solution , Thanks a lot man. Yep now it works the data
propogation is happening in Merge Subscriber if any thing changes in the
Transaction Publisher.

Thanks a lot for your help.

Regards
Pradeep

[quoted text, click to view]
AddThis Social Bookmark Button