Issues with case and collation when my SQL Server database is set to Latin1_General_100_CI_AI -


my sql server 2008 database set latin1_general_100_ci_ai collation, yet when query database using management studio still accent sensitive. missing?

also, folowwing message when joining 2 tables on nvarchar. tables both on same collation too.

cannot resolve collation conflict between "latin1_general_100_ci_ai" , "latin1_general_ci_as" in equal operation.

any gratly appreciated.

try casting 1 of fields other field's collation:

select  *    as_table join    ai_table on      ai_field = as_field collate latin1_general_100_ci_ai 

or

select  *    ai_table join    as_table on      as_field = ai_field collate latin1_general_100_ci_as 

note casting field makes predicate unsargable against index on field.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -