declare
TYPE AssocArrayNumber_t is table of NUMBER index by BINARY_INTEGER;
arrayNumber AssocArrayNumber_t;
begin
dbms_output.put_line('---------------------');
for i in 1..10
loop
arrayNumber(i) := i;
end loop;
for i in arrayNumber.count
loop
dbms_output.put_line(arrayNumber(i));
end loop;
dbms_output.put_line('finish');
end;
------解决方案--------------------
for i in 1 .. arrayNumber.count
------解决方案--------------------
for i in 1 .. arrayNumber.count
接分