RDS mysql 查询字段不区分大小写解决
参考:阿里云RDS 区分大小写
select * from `d_user_register201704` where time>='2017-04-01 00:00:00' and binary `channel` ='Web';
binary
在 case 中也能用
case binary channel when 'web' then 1 else 0 end
本文介绍如何在阿里云RDS MySQL中进行不区分大小写的字段查询,包括使用binary关键字实现精确匹配的方法,并展示了如何在CASE语句中应用。
RDS mysql 查询字段不区分大小写解决
参考:阿里云RDS 区分大小写
select * from `d_user_register201704` where time>='2017-04-01 00:00:00' and binary `channel` ='Web';
在 case 中也能用
case binary channel when 'web' then 1 else 0 end
7099

被折叠的 条评论
为什么被折叠?