How can we help you today? How can we help you today?
Andrew P
Hey Csuire, Thanks for contacting us! I have submitted this to the project managers as feature request SE-699. Please let me know if you have any further questions or issues! Warmly, / comments
Hey Csuire, Thanks for contacting us! I have submitted this to the project managers as feature request SE-699. Please let me know if you have any further questions or issues! Warmly,
0 votes
Hey JPotter, Thanks for contacting us! It sounds like you would like to Merge the records between these two tables- as you have noticed, when a comparison is done, it compares based on comparison keys (usually indexes, PKs and FKs) and finds which keys are missing from the Source, missing from the Target, or occurring in both but with different values. (more info on the comparison results here https://documentation.red-gate.com/disp ... on+results) However you can manually set the comparison keys- so that instead of basing the comparison on indexes or FKs that may match but have different data, you can compare the data- say the comparison key is Eye Color so that it compares based on that rather than something meaningless and wrong (in this instance) like the FK. (see the "Selecting the comparison key" section in here https://documentation.red-gate.com/disp ... +and+views ) Once you are comparing based on data that is not arbitrarily different, you can get a better idea of what you need to merge. You can generate Insert Scripts for a merged table by deploying the Source Only data from each database (so compare once, generate the deployment script for the Source Only data, then switch the Source and the Target and generate the deployment script for the Source Only data). So this would give you all of the Insert scripts for the merged db- but you still need the schema right? You would need to create a database with the desired structure- SQL Data Compare only does data, so SQL Compare may help you deploy the objects that you desire or you may need to manually generate/modify the structure- you would then apply the generated Insert scripts to the new db. This requires some manual stitching but it may be possible depending on how different your new database needs to be. I will also follow up with you via email in case you have any questions or issues with the above! Kindly, / comments
Hey JPotter, Thanks for contacting us! It sounds like you would like to Merge the records between these two tables- as you have noticed, when a comparison is done, it compares based on comparison k...
0 votes