Thanks for the question, Arya.
Asked: July 17, 2016 - 5:02 pm UTC
Last updated: July 18, 2016 - 12:46 am UTC
Version: 9i
Viewed 1000+ times
SQL> declare 2 type t1 is table of int index by pls_integer; 3 type t2 is table of int; 4 5 v1 t1; 6 v2 t2; 7 begin 8 for i in 1 .. 300 loop 9 v1(i) := 72; 10 end loop; 11 12 v2 := t2(); 13 v2.extend(300); 14 for i in 1 .. 300 loop 15 v2(i) := 72; 16 end loop; 17 end; 18 / PL/SQL procedure successfully completed.
Check out more PL/SQL tutorials on our LiveSQL tool.
PL/SQL reference manual from the Oracle documentation library