sql server Cannot resolve the collation conflict between "Chinese_PRC_BIN" and "Chinese_PRC_CI_AS" in the equal to operation

今天查询二个db,出现这个错误,二种方法,一种是把db里的collation改成一样的;如果不方便可以直接在sql语句后面转一下:

select * from table

where crm_mscrm.dbo.imei.imei_no = csmrep.crmextdb.dbo.imei.imei_no collate Chinese_PRC_CI_AS

原文地址:https://www.cnblogs.com/jichen/p/8118207.html