Link to home
Start Free TrialLog in
Avatar of HLRosenberger
HLRosenbergerFlag for United States of America

asked on

SQL_Latin1_General_CP1_CI_AS v. Latin1_General_CP1_CI_AS

Can any help me with understanding the difference between SQL_Latin1_General_CP1_CI_AS and  Latin1_General_CP1_CI_AS?

I've read some stuff, but I'm still unclear.  If the same collation is used within a single database, does it matter which one of these I use?  Is it only performance?  If all our data character is english, does it matter which is used?  

Is the default collation different for SQL server versions?
SOLUTION
Avatar of Nakul Vachhrajani
Nakul Vachhrajani
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HLRosenberger

ASKER

I understand about sticking with one collation within the database.  

I have two databases, one is a development database and one is a production database, and they are on SQL servers that are different versions and that have a different default collation.   During development, I add a text columns to a table, and the column defaults to SQL_Latin1_General_CP1_CI_AS.    I did the same on the production database.  Then before we do a production release of code I use a software tool to sync the schema between the development and production databases, to make sure everything is the same.    The production database has a default collation of Latin1_General_CP1_CI_AS.  So, the tool always pick up on this difference for a column that was manually created in both databases.  Question - Is this an issue?  Sounds like it is, since the schema tool will now change the collation on the column from  Latin1_General_CP1_CI_AS to SQL_Latin1_General_CP1_CI_AS.
Follow up - Is there a way  to check the collation on all text columns within a database ?  I want to see if they are all the same.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks