Tablas PL dentro de otras tablas PL
Hola
Dentro de un paquete estoy declarando una estructura del tipo siguiente:
type EST_PETICION_lst is table of EST_PETICION%rowtype index by binary_integer;
Type EST_AREA is record (area_id area.AREA_ID%type,
pdt_id pdt.PDT_ID%type,
peticion_id PETICION.PETICION_ID%type,
pet_head EST_PETICION_lst);
Dicha declaración es una tabla PL de registros.
Y cada reguistro esta compuesto por campos (area_id, pdt_id y peticion_id) y una tabla PL llamada pet_head.
A la hora de utilizar esta estructura se produce el siguiente error:
PLS-00302: component 'PET_HEAD' must be declared
Grácias por la ayuda.
Dentro de un paquete estoy declarando una estructura del tipo siguiente:
type EST_PETICION_lst is table of EST_PETICION%rowtype index by binary_integer;
Type EST_AREA is record (area_id area.AREA_ID%type,
pdt_id pdt.PDT_ID%type,
peticion_id PETICION.PETICION_ID%type,
pet_head EST_PETICION_lst);
Dicha declaración es una tabla PL de registros.
Y cada reguistro esta compuesto por campos (area_id, pdt_id y peticion_id) y una tabla PL llamada pet_head.
A la hora de utilizar esta estructura se produce el siguiente error:
PLS-00302: component 'PET_HEAD' must be declared
Grácias por la ayuda.
