Compare Collation not picking up collation differences

Forum for users of SQL Compare schema synchronization utility

Compare Collation not picking up collation differences

Postby GMoney » Sun Aug 26, 2012 11:53 pm

Hi there, I have just restored a DB from SQL 2005 onto my SQL 2012 machine and am using SQLCompare10 to compare the two databases. For some reason differences in the collation are not being picked up by the comparison tool.

As an example, I have a table with collation specified as Latin1_General_CI_AS on a few columns. When I compare this to a database which has SQL_Latin1_General_CI_AS specified as the database default collation and no collation specified on these table columns (ie. they will have the database default collation), I get no differences between the tables.

I have the 'Ignore Collation' switched off, so I would have thought these collation changes would be picked up.

Can someone help me out with how I can get these to be picked up in the comparison tool?

Posts: 2
Joined: Sun Aug 26, 2012 11:47 pm

Postby chriskelly » Wed Aug 29, 2012 3:02 pm

Thank you for your post.

If I understand your scenario correctly, then the reason that the tables are showing no differences is because their aren't any. You may be specifying the collations for the tables in different ways, but when SQL Compare is retrieving the schema information they are seen as identical.
Chris Kelly
Technical Support Engineer
Posts: 368
Joined: Mon Apr 19, 2010 1:44 pm
Location: Cambridge, UK

Postby GMoney » Wed Aug 29, 2012 9:12 pm

Perhaps you are correct.

I got around my problem by taking a blank database with the correct collation and used SQL Data Compare to populate the database.

Thanks for your response anyway.
Posts: 2
Joined: Sun Aug 26, 2012 11:47 pm

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests