Oracle模糊查询区分大小写

Oracle模糊查询区分大小写,解决方法:

查询条件使用UPPER()或LOWER()修饰,同时查询参数传入大写或小写

例如 select t.name from table t where t.name like '%text%';  -->  select t.name from table t where UPPER(t.name) like UPPER('%TEXT%'); 

猜你喜欢

转载自blog.csdn.net/m0_37960071/article/details/80494419