SQL>
SQL>
SQL> CREATE OR REPLACE TYPE NameList AS
2 VARRAY(20) OF VARCHAR2(30);
3 /
Type created.
SQL>
SQL>
SQL> DECLARE
2
3 TYPE DateList IS VARRAY(10) OF DATE;
4
5 v_Dates DateList;
6 v_Names NameList;
7 BEGIN
8 NULL;
9 END;
10 /
PL/SQL procedure successfully completed.
SQL>
SQL>