Nested varray
SQL>
SQL>
SQL> DECLARE
2 TYPE x IS VARRAY(30) OF INTEGER;
3 TYPE y IS VARRAY(20) OF x;
4
5 xArray x := x(234,2,3,4);
6 yArray y := y( x(0), xArray, x(4,5,3,4) );
7 BEGIN
8 dbms_output.put_line(yArray(3)(2) );
9 END;
10 /
5
PL/SQL procedure successfully completed.
SQL>
Related examples in the same category