SQL>
SQL> DECLARE
2 TYPE number_table IS TABLE OF INTEGER INDEX BY VARCHAR2(9 CHAR);
3 number_list NUMBER_TABLE;
4 BEGIN
5
6 number_list('One') := 1;
7 number_list('Two') := 2;
8 number_list('Nine') := 9;
9
10 DBMS_OUTPUT.PUT_LINE('FIRST Index '||number_list.FIRST);
11 END;
12 /
FIRST Index Nine
PL/SQL procedure successfully completed.
|