- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 2021-06-24
Mysql查询时不区分大小写的问题 mysql查询默认不区分大小写,如: select * from user where name = ‘abc’; select * from user where name = ‘ABC’; 查询结果是一样的 解决方法 方法一 在查询的时候加上binary关键字让mysql区分大小写 select * from user where binary name = ‘abc’; select * from user where binary name = ‘ABC’; 方法
2021-06-24 14:07:06 21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人