首页 > 数据库 >Oracle like多条件过滤

Oracle like多条件过滤

时间:2022-12-28 15:34:18浏览次数:41  
标签:... 匹配 like -- 过滤 Oracle REGEXP where 字段名

模糊匹配多个条件

--全模糊匹配
where REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)') 

--右模糊匹配
where REGEXP_LIKE(字段名, '^(匹配串1|匹配串2|...)') 

--左模糊匹配
where REGEXP_LIKE(字段名, '(匹配串1|匹配串2|...)$') 

 

标签:...,匹配,like,--,过滤,Oracle,REGEXP,where,字段名
From: https://www.cnblogs.com/Williamls/p/17010251.html

相关文章