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
 General SQL Server Forums
 New to SQL Server Administration
 Replication and Primary Key

Author  Topic 

calvinfoo
Posting Yak Master

129 Posts

Posted - 2014-01-09 : 00:48:52
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

5072 Posts

Posted - 2014-01-09 : 12:41:22
see How Merge Replication Detects and Resolves Conflicts
Go to Top of Page
   

- Advertisement -