摘要:
不包含中文 SELECT seat_num from hcm_process_seat where length(seat_num)=char_length(seat_num) 包含中文 SELECT seat_num from hcm_process_seat where length(seat_ 阅读全文
摘要:
例子: SELECT * FROM table ORDER BY CONVERT(字段 USING GBK) ASC 通常我们在查询书籍时,会出现按照书籍的名称进行排序,由于一般数据库编码大都为utf-8 ,他的排序方式为按英文字母规则排序 "a,b,c..... " 数据库编码: 排序 utf-8 阅读全文