oracle中instr函数简单用法

发布时间 2023-11-01 16:13:48作者: 花田007

instr函数返回string2在string1中出现的位置

查询地址中不包括“山东”的数据
select * from sys_address t where instr(t.address,'山东')=0;
查询地址中包括“山东”的数据
select * from sys_address t where instr(t.address,'山东')!=0;