mysql中按中文名称排序时的问题

来源:互联网 发布:虾吃虾涮相应数据 编辑:程序博客网 时间:2024/06/16 21:17

当为字符串中的汉字进行排序时需要用如下方法转换:

select convert(name using utf8) from table order by name desc