title: Plsql Uninitialized collections
body: <p>I have the following types defined into a spec of a package</p>
  
  <pre><code>type column_info is record (col_name varchar2(20), col_value varchar2(1000));
  type c_info is varray(10) of column_info;
  type table_info is record (table_name varchar2(20), col_info c_info);
  </code></pre>
  
  <p>In declaration part package body I have</p>
  
  <pre><code>t_info table_info;
  </code></pre>
  
  <p>Inside of a procedure in the body of package I have</p>
  
  <pre><code>t_info:=null;
  t_info.table_name:='gl_temp_report1';
  t_info.col_info(1).col_name:='table_idx';
  t_info.col_info.extend;
  t_info.col_info(2).col_name:='table_row';
  t_info.col_info.extend;
  t_info.col_info(3).col_name:='table_row_detail';
  </code></pre>
  
  <p>Even package compile succesfully , at runtime I get the exception ORA-06531: Reference to uninitialized collection .<br>
  How I initialize col_info collection ? 
  I tried to initialize t_info.col_info() but I get "There is no function" like this one . TIA, Aurel</p>