title: Initializing table types in Oracle
body: <p>I have such simple procedure  and TYPETEST table type.</p>
  
  <pre><code>create or replace PROCEDURE TESTPROCEDURE (dayName out TYPETEST )IS 
  BEGIN
  dayName(1):='Monday';
  dayname(2):='1';
  dayname(3):='good';
  END TESTPROCEDURE; 
  CREATE OR REPLACE TYPE TYPETEST AS TABLE OF  varchar2(50);
  </code></pre>
  
  <p>it compiles normally, but when I run it, it gives such exception:</p>
  
  <blockquote>
    <p>"ORA-06531:Reference to uninitialized collection".</p>
  </blockquote>
  
  <p>Can you help me please?</p>