Primary Key Sync for Multiple Clients upload only #1099
Unanswered
rhemasystems
asked this question in
Q&A
Replies: 1 comment 4 replies
-
that's intended :) Just change Auto Increment to Guid |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please how do you handle this case where am syncing one db to the server db, the server db already has 2 records in
Sales
table with primary keys 1 and 2 from another Client DB1, the new upload from the Client DB2 also has primary key 1 and 2, after syncing the Client DB2, the upload goes to update the two records at the server db belonging to Client DB1 instead of inserting those 2 records making a total of 4 records, 2 records from each Client DBNot that my Id field is
Identity Auto increment Primary keys
on both clients and serverClient DB2
Server DB, showing the 2 records belonging to Client DB1 that have been updated by Client DB2 upload
From the screenshot, the new client db has updated the records in the server db instead of inserting.
and this table
Sales
also has 2 related tables calledSalesDetails
andSalesPayment
Beta Was this translation helpful? Give feedback.
All reactions