问题:使用like模糊查询,性能不是很好,寻求更高效的模糊查询的方法
解决:使用oracle自带的instr()函数解决
参考:https://blog.csdn.net/u010028869/article/details/40022547
select * from table where instr(字段,字符串)>0 //相当于 字段 like '%字符串%'
select * from table where instr(字段,字符串)=1 //相当于 字段 like '字符串%'
select * from table where instr(字段,字符串)=0 //相当于 字段 not liek '%字符串%'
结论:性能提升巨大