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