oracle sql like多个条件函数

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hzq450013155/article/details/81211010
select * from table where 
REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)') ;//全模糊匹配

select * from table where 
REGEXP_LIKE(字段名, '^(匹配串1|匹配串2|...)') ;//右模糊匹配

select * from table where 
REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)$') ;//左模糊匹配

猜你喜欢

转载自blog.csdn.net/hzq450013155/article/details/81211010