怎么让instr函数,不区分大小写?默认是区分大小写的instr(原字符串,目标字符串,搜索位置,匹配次数)select I
怎么让instr函数,不区分大小写?默认是区分大小写的
instr(原字符串,目标字符串,搜索位置,匹配次数)
select Instr('pPfdppf','PP',1,1) from dual
这个结果pP匹配PP,怎么得到1
[解决办法]
select Instr(lower('pPfdppf'),lower('PP'),1,1) from dual;
[解决办法]
把instr改成regexp_instr
