7、row(substr(v_list,1,l_idx-1));v_list:=substr(v_list,l_idx+length(p_sep));elsepiperow(v_list);exit;endif;endloop;return;endsplit;--测试改管道函数是否正确select column_value from table(split('Hello,Cnblogs!',','));--在存储过程调用运用该管道函数createorreplaceprocedureprc(paraoutvarc
8、har2)isvar_outvarchar2(200);var_splittype_split;begin--调用方式一输出拆分的字符串forpin(select column_value from table(split('Hello,Cnblogs!',',')))loopvar_out:=var_out