Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Problem : Cannot resolve the collation conflict between ...

$
0
0

Hi

I want select a column from another database base on my current field on current database.

here is my query :

select ms.ServiceID, ms.ServiceName, ms.CoefficientFixedService,
	(select Services_Name from MpAdmisson..IAServices_Table where Services_DepartmentID=24 and Services_Name=ms.ServiceName) as N'MpServiceName'
from MedicalServices ms
	join MedicalCategories mc on ms.MedicalCategorizationID=mc.MedicalCategorizationID
	join Zones z on mc.ZoneID=z.ZoneID
where z.ZoneID=24

but I'm facing this error :

Cannot resolve the collation conflict between "Persian_100_CI_AI" and "Arabic_CI_AS" in the equal to operation.

Also i changed collation of "MpAdmisson" db to "Persian_100_CI_AI" and even restart msSqlServer service, but i'm facing the same error!
where is my problem and how to solve it ?
thanks in advance


http://www.codeproject.com/KB/codegen/DatabaseHelper.aspx


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>