Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Replication (2008)
 Can this be done with replication?

Author  Topic 

deonvisser
Starting Member

16 Posts

Posted - 2012-09-11 : 13:49:46
Hi

I would like to know what replication model I should use to achieve the following if even achievable. This is a simplified example.

Database 1 (DB1)Contains a table with client A, B, C, D.
Database 2 (DB2) Contains a table with client B, E, F,G

As you can see booth DB's share a common client B.

I only want to replicate the data for Client B between the two DB's
I must use merge replication as transactions are entered in both DB's.
I do not want to replicate any of the other clients.

What I have done.
1. I have setup a filter on DB1 (Publisher - Merge Replication)to filter client B. The problem is:- I can now only see Client B at DB2 (Subscriber) and if I insert a new record for any other Client other than B it is automatically removed for DB 2 when I sync.

2. So I tried republishing. The problem is:- When I modify Client B at Subscriber it causes a conflict at the Republisher. I am not sure if I setup republishing correctly.

I would appreciate any assistance.

Kind Regards
Deon

chadmat
The Chadinator

1974 Posts

Posted - 2012-09-11 : 14:32:45
http://msdn.microsoft.com/en-us/library/ms151775.aspx

-Chad
Go to Top of Page

deonvisser
Starting Member

16 Posts

Posted - 2012-09-11 : 15:14:59
Thanks Chad

Unfortunately replication filtering removes all non filtered clients from the subscriber, only leaving B at the subscriber and removing E, F and G.

Go to Top of Page
   

- Advertisement -