使用正则表达式, 不影响速度, 大数据情况下, 使用instr, regexp_instr
select * from table(你的表名) where 1=1
and regexp_like(字段, '(a|b)'); --注意:'(a|b)' 为要搜索的多个值a或者b,为两个值多个用|相加
select * from table(你的表名) where 1=1
and regexp_instr(字段, '(a|b)') > 0; --大于0为 全模糊搜索
使用正则表达式, 不影响速度, 大数据情况下, 使用instr, regexp_instr
select * from table(你的表名) where 1=1
and regexp_like(字段, '(a|b)'); --注意:'(a|b)' 为要搜索的多个值a或者b,为两个值多个用|相加
select * from table(你的表名) where 1=1
and regexp_instr(字段, '(a|b)') > 0; --大于0为 全模糊搜索