declare lv_str varchar(500); begin lv_str := ‘abcd$xxx‘; dbms_output.put_line(instr(lv_str, ‘$‘)); dbms_output.put_line(substr(lv_str, 0, instr(lv_str, ‘$‘) - 1)); dbms_output.put_line(substr(lv_str, instr(lv_str, ‘$‘) + 1)); end;
标签:weight ora AC bsp 截取字符串 post instr varchar rac
declare lv_str varchar(500); begin lv_str := ‘abcd$xxx‘; dbms_output.put_line(instr(lv_str, ‘$‘)); dbms_output.put_line(substr(lv_str, 0, instr(lv_str, ‘$‘) - 1)); dbms_output.put_line(substr(lv_str, instr(lv_str, ‘$‘) + 1)); end;
标签:weight ora AC bsp 截取字符串 post instr varchar rac
原文地址:https://www.cnblogs.com/xyzabc0004/p/8489660.html