Comments
5 comments
-
Hi @ShowJ
Can I ask, have you looked into any of the options that SQL Data Compare provides?
It should be a default option, have you got "Disable foreign keys" enabled?
So essentially this disables the FK constraint and deploys the data (that should meet all integrity constraints) and then re-enables the FK.
Here's some documentation breaking them down: https://documentation.red-gate.com/sdc/setting-up-the-comparison/setting-project-options -
DanC said:Hi @ShowJ
Can I ask, have you looked into any of the options that SQL Data Compare provides?
It should be a default option, have you got "Disable foreign keys" enabled?
So essentially this disables the FK constraint and deploys the data (that should meet all integrity constraints) and then re-enables the FK.
Here's some documentation breaking them down: https://documentation.red-gate.com/sdc/setting-up-the-comparison/setting-project-options
I should also mention that all the primary keys are identity, auto-number columns. -
DanC said:Hi @ShowJ
Can I ask, have you looked into any of the options that SQL Data Compare provides?
It should be a default option, have you got "Disable foreign keys" enabled?
So essentially this disables the FK constraint and deploys the data (that should meet all integrity constraints) and then re-enables the FK.
Here's some documentation breaking them down: https://documentation.red-gate.com/sdc/setting-up-the-comparison/setting-project-options
I should also mention that all the primary keys are identity, auto-number columns. -
DanC said:Hi @ShowJ
Can I ask, have you looked into any of the options that SQL Data Compare provides?
It should be a default option, have you got "Disable foreign keys" enabled?
So essentially this disables the FK constraint and deploys the data (that should meet all integrity constraints) and then re-enables the FK.
Here's some documentation breaking them down: https://documentation.red-gate.com/sdc/setting-up-the-comparison/setting-project-options
I should also mention that all the primary keys are identity, auto-number columns. -
Hi @ShowJ
Thanks for the update, going to need a bit more info from you in order to troubleshoot this!
I'm going to follow up via a support ticket!
Add comment
Please sign in to leave a comment.
I was wondering if SQL Data Compare had a means of setting a specific order in which tables are affected.