摘要:
CREATE OR REPLACE TYPE mytable AS TABLE OF varchar2(100)CREATE OR REPLACE FUNCTION SPLIT(SRC VARCHAR2, DELIMITER VARCHAR2) RETURN MYTABLE IS PSRC VARCHAR2(500); A MYTABLE := MYTABLE(); I NUMBER := 1; -- J NUMBER := 1;BEGIN PSRC := RTRIM(LTRIM(SRC, DELIMITER), DELIMITER); LOOP I := INSTR(PSRC, DELIM. 阅读全文