Red Gate forums :: View topic - Compare Collation not picking up collation differences
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Compare Collation not picking up collation differences

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
GMoney



Joined: 26 Aug 2012
Posts: 2

PostPosted: Sun Aug 26, 2012 11:53 pm    Post subject: Compare Collation not picking up collation differences Reply with quote

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?

Thanks
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 328
Location: Cambridge, UK

PostPosted: Wed Aug 29, 2012 3:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
GMoney



Joined: 26 Aug 2012
Posts: 2

PostPosted: Wed Aug 29, 2012 9:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group