I'm recieving the below error msg while running the query. Please can one elaborate it further. Thank you in advance.
SQL> declare
2 TYPE test IS VARRAY(6) OF VARCHAR2(20) ;
3 begin
4 dbms_output.put_line('test value is '||test(1));
5 end;
6 /
declare
*
ERROR at line 1:
ORA-06531: Reference to uninitialized collection
ORA-06512: at line 4