Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-06531: Reference to uninitialized collection, Object Types with Inheritance!!!

Re: ORA-06531: Reference to uninitialized collection, Object Types with Inheritance!!!

From: Anil G <anil_at_pipelinesoftware.com>
Date: 26 Feb 2006 19:59:39 -0800
Message-ID: <1141012779.583854.130110@i40g2000cwc.googlegroups.com>


Thanks for the reply,

DECLARE

	  --v_c t_c;
	  v_1 t_a_v := t_a_v();
	  v_2 t_b;
BEGIN

--v_c := t_c(t_a_v(t_b('1')));
--v_1(1) := t_b('1','1');
v_2 := t_b('Ha','Hb'); DBMS_OUTPUT.PUT_LINE( v_2.v_a||'----'||v_2.v_b); v_1.EXTEND(1); v_1(1) := v_2;
--
DBMS_OUTPUT.PUT_LINE( v_1.COUNT); DBMS_OUTPUT.PUT_LINE('---t_a.v_a='||v_1(1).v_a); DBMS_OUTPUT.PUT_LINE('----t_b.v_b='||TREAT(v_1(1) AS t_b).v_b);

END;
/ Received on Sun Feb 26 2006 - 21:59:39 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US