当前位置:Gxlcms > 数据库问题 > Mysql Concat()bug

Mysql Concat()bug

时间:2021-07-01 10:21:17 帮助过:3人阅读

1、http://bugs.mysql.com/bug.php?id=12030

CONCAT with INTEGER modifies result-set encoding

2、这个bug的修改方式,

对integer变量进行转换

CONCAT(p.company,‘-‘,CAST(p.id AS CHAR CHARACTER SET utf8 ))

Mysql Concat()bug

标签:

人气教程排行