Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Chinese_PRC_CI_AS" in the equal to operation.

做多个数据库数据处理时,出现如标题所示的异常:

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Chinese_PRC_CI_AS" in the equal to operation.

是因为其中2个数据库collation不相同导致。

 解决方法,在存储过程或t-ql语句添加COLLATE XXX
即是改其中一个数据库条件连接字段设置为相同即可。

原文地址:https://www.cnblogs.com/insus/p/13967449.html