Oracle_Nested_Table2.htm
script:

SET SERVEROUTPUT ON;
CREATE OR REPLACE PROCEDURE m5_nested_proc2 AS
TYPE nested_table_type IS TABLE OF NUMBER ;
nested_table1 nested_table_type := nested_table_type (2);
nested_table2 nested_table_type := nested_table_type (2);
BEGIN
nested_table1(1) := 10;
DBMS_OUTPUT.PUT_LINE('nested_table1(1) is '||nested_table1(1));
nested_table2(1) := 11;
DBMS_OUTPUT.PUT_LINE('nested_table2(1) is '||nested_table2(1));

END m5_nested_proc2;
/
CALL m5_nested_proc2();