Answer the question
In order to leave comments, you need to log in
How to save primary key during replication?
How to save primary key during replication? So that in different replicas they do not coincide and do not break foreign keys.
Answer the question
In order to leave comments, you need to log in
How to save primary key during replication?There are two ways: range (that is, a range of primary keys is allocated for each replica, if this is an integer, when using it - the next one), 3000, for example, in MS SQL; use GUID is a unique binary number, and no two computers in the world will create two identical values ( uniqueidentifier , for example).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question