Solved

cannot resolve the collation conflict between

Posted on 2011-03-08
9
1,616 Views
Last Modified: 2012-06-27

expert,

The SQL security login failed the error is below, any idear to fix it? (SQL 2008).

cannot resolve the collation conflict between "Latin1_General_CI_AS_KS_WS" and SQL_Latin1_General_CP1_CI_AS in the UNIION operation.  Error 468

Thanks,

Lynn
0
Comment
Question by:yrcdba7
  • 4
  • 3
  • 2
9 Comments
 
LVL 22

Expert Comment

by:8080_Diver
ID: 35072536
That is looking like a collation conflict in a query and not a login.  

You can decide which collation you want as output and then cast every column and table from the "wrong" collation to the "right" collation.  (It's a pain but it's even more fun to rebuild the database with a new collation and then sort out the bugs from other queries' JOINs. ;-)
0
 
LVL 14

Accepted Solution

by:
Daniel_PL earned 500 total points
ID: 35072576
Isn't it an error prompted when viewing securables tab in login properties using SSMS?
This problem should be resolved in SSMS 2008 (SQL Server Management Studio).
0
 
LVL 22

Expert Comment

by:8080_Diver
ID: 35072642
That's not the only way to get one and, since the message references in the UNION operation, I am thinking it is a table collation issue.

Check out:
Collation Error 468
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35072739
I know but the same is in error message from situation I posted ;)
What pointed me to that is not exact quetion 'The SQL security login failed ...'
The best will be to hear from author from what he/she get's that error?
0
 
LVL 22

Expert Comment

by:8080_Diver
ID: 35073077
I will admit that the message opens with a statement that seemingly contradicts the contents of the error message.
0
 

Author Comment

by:yrcdba7
ID: 35073837
This is error message when I click security login securibles.
cannot resolve the collation conflict between "Latin1_General_CI_AS_KS_WS" and SQL_Latin1_General_CP1_CI_AS in the UNIION operation.  Error 468

i recreaed login, so far user can access the server but the securibles still has this error. I agree it is table and database collation changed. I have to
change the collation for each of them. It is painful to change one by one table and database.


0
 

Author Comment

by:yrcdba7
ID: 35073862
Daniel_PL

Isn't it an error prompted when viewing securables tab in login properties using SSMS?
Yes, but I don't know how to solve it from management studio.
0
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35079999
It's a problem with different collations in master database and the database in which login is mapped as a db user.
You can check database collations by running:
EXEC sp_msforeachdb 'SELECT ''?'' AS [Database],DATABASEPROPERTYEX(''?'', ''Collation'') SQLCollation;'

I think you should change collactions so they can fit together.

Take care,
Daniel
0
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35148855
Have it solved your problem?
As i wrote before, the problem lies in incompatible collations between master database and database in which login is mapped in.
Additionally it's not harmless to change master database collation - it implies rebuilding master db.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question