`
wangzl2222
  • 浏览: 152598 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLIC

 
阅读更多
eg:Select * from 数据库A.表A where name not in (select name from 数据库B.表B)

出现 :Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
错误警告

解决办法:
Select * from 数据库A.表A where convert(name using utf8) not in (select convert(name using utf8) from 数据库B.表B)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics