Open ger2902 opened 3 years ago
Check if you have IDENTITY property on primary key set to TRUE.
On 4 Dec 2020, at 17:24, ger2902 notifications@github.com wrote:
Hi, I'm getting this error when I try to insert in the master db a new record that has an Identity primary key:
ERROR PushInsertRecords() Cannot insert explicit value for identity column in table 'Table' when IDENTITY_INSERT is set to OFF.
is an special configuration required??
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sqlite-sync/SQLite-sync.com/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNU5N7C4CXANWAALM2VBM3STEENRANCNFSM4UNU5XNQ.
Yes it's set to TRUE, is it possible to insert new records with identity value? I wonder if should I send as null the value in the identity column...
Hi, I'm getting this error when I try to insert in the master db a new record that has an Identity primary key:
ERROR PushInsertRecords() Cannot insert explicit value for identity column in table 'Table' when IDENTITY_INSERT is set to OFF.
is an special configuration required??
Thanks