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

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

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

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

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

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

 

相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2021-12-23
  • 2021-08-06
  • 2021-06-23
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
相关资源
相似解决方案