SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Replication (2008)
 Can this be done with replication?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

deonvisser
Starting Member

South Africa
9 Posts

Posted - 09/11/2012 :  13:49:46  Show Profile  Reply with Quote
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

USA
1974 Posts

Posted - 09/11/2012 :  14:32:45  Show Profile  Visit chadmat's Homepage  Reply with Quote
http://msdn.microsoft.com/en-us/library/ms151775.aspx

-Chad
Go to Top of Page

deonvisser
Starting Member

South Africa
9 Posts

Posted - 09/11/2012 :  15:14:59  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000