What are the challenges you face when working across database platforms? Take the survey
Options

Version 12 not correctly finding compare keys

ergofaceergoface Posts: 6 Bronze 1
edited October 26, 2016 6:21AM in SQL Data Compare
I have a database that has PKs defined for all its tables. When using Data Compare 11, it correctly finds and uses all of the keys. When I went to do a compare today with Version 12 (12.0.30.3199) it was unable to recognize the keys in about a third of the tables and was also not showing the PK fields in some cases. I went back and used version 11 and it mapped the tables without issue, so I did my sync with that. Version 12 showed no error, just simply acted like 1/3 of my tables didn't have PK fields defined.

Ideas?
Dave Bennett

Comments

  • Options
    jimmywhitejimmywhite Posts: 3 New member
    Dave,
    I had the same problem and also reverted back to 11. I think it has to do with the fact that SQL Data Compare 12 has VERY minimal defaults selected under project options. If you go to project options then hit the "Redgate defaults" button at the bottom you will see that it selects "Include Identity columns". I believe that is your issue. If you then click "Save as my defaults" this should solve your issue.
  • Options
    Thanks for the information - it sounds like there's some problem where the default project options aren't correctly getting set to Redgate defaults or your own defaults - could you confirm that? It's not something we've seen here but we could have a look if that turns out to be the case
  • Options
    jimmywhitejimmywhite Posts: 3 New member
    No, once I set them they stuck. My defaults came up fine this morning with the "Include Identity columns" selected.
  • Options
    All,
    You were correct it was the Options that was the issue. It seems odd that out of the box it doesn't either use the Red Gate defaults or import them from a previous version if it exists.
    The default install had only one item checked out of all the possible options. I first tried the Red Gate defaults, then added a couple more to what I'm used to and now it seems to work fine.

    Thanks,
    Dave
    Dave Bennett
  • Options
    Ah, I see - in general, we try to import settings from v11 or use sensible defaults where possible, but it sounds like that might not have been working properly in this case. I'll write up a bug report and see if there's something we can fix here
  • Options
    Were you loading a project you saved in V11, or did you start a new project in V12 and re-enter the connection info?
    Software Developer
    Redgate Software
Sign In or Register to comment.