oracle 模糊查询忽略大小写

时间:2014-12-03 13:51:15   收藏:0   阅读:977

select * from c_table t where upper(t.name) like ‘%F%‘;--将字段全转成大写

select * from c_table t where lower(t.name) like ‘%f%‘;--将字段全转成小写

select * from c_table t where t.name like upper(‘%f%‘) or t.name like lower(‘%F%‘);

原文:http://www.cnblogs.com/yoosha/p/4139837.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!