SQL>
SQL> DECLARE
2 TYPE NumbersTab IS TABLE OF NUMBER;
3 v_Numbers NumbersTab := NumbersTab(1, 2, 3);
4 BEGIN
5 v_Numbers(1) := 7;
6 v_Numbers(2) := -1;
7
8 v_Numbers(4) := 4;
9 END;
10 /
DECLARE
*
ERROR at line 1:
ORA-06533: Subscript beyond count
ORA-06512: at line 8
SQL>
SQL>