Hola
es asi como se asigna a un array?
la linea de un asterisco, porque no se carga el array ... :(

..
DECLARE tfonid_row salidafonid%ROWTYPE ;
Declare m_recs integer[50] ;
.
.
.
for tfonid_row in execute
     'SELECT docu   FROM salidafonid  ORDER BY random() LIMIT 50' loop

 m_recs[ N_TOTAL_DNI ] = tfonid_row.docu ; (*)

 N_TOTAL_DNI := N_TOTAL_DNI +1 ;
end loop ;


salu2
mdc

Responder a