Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Collation Conflict
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

United Kingdom
152 Posts

Posted - 06/20/2012 :  10:58:11  Show Profile  Reply with Quote
Dear all,

I try to establish simple join between two table and i am getting

select policy.policynumber ,
from policy
inner join filter on filter.policynumber = policy.policynumber

'Msg 468, Level 16, State 9, Line 4
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation'

How to fix this issue.
Any help will be highly appreciated.



Flowing Fount of Yak Knowledge

United Kingdom
3385 Posts

Posted - 06/20/2012 :  11:18:16  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
col1 = col2 collate Latin1_General_CI_AS

Or better change one of the columns so you have a consistent collation.

Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.

Edited by - nigelrivett on 06/20/2012 11:19:29
Go to Top of Page

Posting Yak Master

212 Posts

Posted - 06/21/2012 :  02:25:38  Show Profile  Visit prett's Homepage  Reply with Quote
It seems that the tables in join are having different collations. There are three solutions to solve this issue:

1. If possible change the database collation.
2. If possible change the server collation.
3. To allow specific queries to run despite the difference on collations, you need to modify those queries and include the COLLATE or COLLATE database_default clause when comparing string columns with different collations.

Go to Top of Page

Starting Member

31 Posts

Posted - 09/23/2014 :  05:21:08  Show Profile  Reply with Quote
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000