oracle 查询不区分大小写比较

如你要查询name等于 yy yy是一个变量名,你不知道yy是大写还是小写对吧
可以这样查询
select × from aaa where Lower(name)=Lower(yy);

或者

select × from aaa where Initcap(name)=Initcap(yy);

原文地址:https://www.cnblogs.com/firstdream/p/2380839.html