固定數組的定義及賦值
DECLARE TYPE ARRAYLIST IS VARRAY(100) OF VARCHAR(50);
MY_ARRAYLIST ARRAYLIST := ARRAYLIST('000015','000032');
BEGIN
for i in 1..MY_ARRAYLIST.count
loop
dbms_output.put_line(MY_ARRAYLIST(i));
end loop;
END;
參考鏈接oracle數組定義相關:
https://www.iteye.com/topic/580144