error Illegal mix of collations for concat

后端 未结 1 1237
南笙
南笙 2021-01-28 01:13

Iam trying to execute database

SELECT v.id AS id,
       DATE_FORMAT(v.`date`, \'%d %b %y\') AS `date`,
       `getDateDiff`(v.`date`) AS `datediff`,
       c.`n         


        
相关标签:
1条回答
  • 2021-01-28 01:49

    I had a similar issue lately. Before you concat do a

    ... CONVERT(myCol TO utf8)...
    

    for all your cols that you want to concat.

    0 讨论(0)
提交回复
热议问题