mysql 忽略大小写,除了改配置文件lower_case_table_names 参数,还有没有其他方法?
在建表是指定 BINARY属性 就会区分大小写
查询语句的时候,用bin转换也会强制区分大小写
select * from t where bin(fieldname) = ‘ABC’