title: Oracle: Bulk collect with DBMS_SQL defined array
body: <p>It doesn't compile. What's wrong?</p>
  
  <pre><code>TYPE recEniFlussiHub IS RECORD
        (
           FLVO_ID                 dbms_sql.varchar2_table,
           flh_id_messaggio        dbms_sql.varchar2_table,
           flh_integrazione_id     dbms_sql.varchar2_table
        );
  
        TYPE taof_RowCurEniFlussiHub IS TABLE OF recEniFlussiHub;
  
        curEniFlussiHub        taof_RowCurEniFlussiHub;
  
  
        SELECT null FLVO_ID, 
               c.flh_id_messaggio,
               c.flh_integrazione_id,        
          BULK COLLECT INTO curEniFlussiHub
          FROM ENI_FLUSSI_HUB c
         WHERE     c.flh_fornitura = P_FLH_FORNITURA
  </code></pre>