mysql like 不区分大小写
%77w%77%2E%66%6F%72%61%73%70%2E%63%6E
学习www.网for站asp制.cn作
在使用mysql做数据库时,遇到查询like 字母,不想区分大小写,调节方式如下:
mysql 对应字段需要支持不区分大小写,需要调节对应字段 Collation,为ci后缀,见下图

*_ci:case insensitive collation,不区分大小写 (MySQL5.6不再有ci类型)
*_cs: case sensitive collation,区分大小写
*_bin: 表示的是binary case sensitive collation,二进制数据,区分大小写的
学习www.网for站asp制.cn作