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
 General SQL Server Forums
 New to SQL Server Administration
 Replication and Primary Key
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

calvinfoo
Posting Yak Master

Malaysia
129 Posts

Posted - 01/09/2014 :  00:48:52  Show Profile  Reply with Quote
Hi,

The Company has many subsidiaries in the world, and the database will have to replicate the relevant data to each of them.

How do you manage the insert statement if Subsidiary are required to?

Example:
If both SubsidiaryA and SubsidiaryB both insert a new record to their own Replication Database, it may got an identical ID.

But later when data merges back to HQ, it will result conflict.

How to tackle such problem?

I am new to replication. Please advise and treat me as newbie.

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 01/09/2014 :  12:41:22  Show Profile  Visit russell's Homepage  Reply with Quote
see How Merge Replication Detects and Resolves Conflicts

Edited by - russell on 01/09/2014 12:41:44
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