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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Replication and Primary Key
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

129 Posts

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

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?

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.


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  
 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.02 seconds. Powered By: Snitz Forums 2000