CREATE OR REPLACE PROCEDURE "P_TEST_TEXT" is OLD_VAL varchar2(100) := '{(38400,23),(37900,),(38950,23),(38098,),(39148,)}', NEW_VAL varchar2(100) := '{(38400,23),(37900,),(38950,23),(39148,),(38098,)}' begin ①TYPE valarray IS TABLE OF varchar2(100) INDEX BY BINARY_INTEGER; VAL1 varchar2(100):=substr(OLD_VAL,2,length(OLD_VAL)-2); WHILE VAL1<>'' LOOP BEGIN VAL2=substr(VAL1,instr(VAL1,'('),instr(VAL1,')')); VAL3=substr(VAL2,instr(VAL2,',')+1,instr(VAL1,')')-instr(VAL2,',')-1); ②valarray1 valarray; ③? VAL1=substr(VAL1,length(VAL2)+2,length(VAL1)-length(VAL2)-1); END; END LOOP;