I have a varray defined like:
declare
TYPE tnr_l IS VARRAY(30) of lve%ROWTYPE;
I want this varray to be initialized with a fetch from the database:
select * into tnr_l from lve where type = 'TNR' order by value;
But this fails with:
.ORA-06550: line 6, column 23:
PLS-00321: expression 'TNR_L' is inappropriate as the left hand side of an
assignment statement
How can I make this work?