2
J'ai un varray défini comme:Comment initialiser une table varray de {TABLE}% ROWTYPE?
declare
TYPE tnr_l IS VARRAY(30) of lve%ROWTYPE;
Je veux que ce varray à initialiser avec une extraction de la base de données:
select * into tnr_l from lve where type = 'TNR' order by value;
Mais cela ne fonctionne pas avec:
.ORA-06550: line 6, column 23:
PLS-00321: expression 'TNR_L' is inappropriate as the left hand side of an
assignment statement
Comment puis-je faire ce travail?
Spot on merci! –