title: type mismatch found at 'EMPTYPE' between FETCH cursor and INTO variables
body: <pre><code>create or replace type emp_obj as object(empno varchar2(500));
  
  create or replace type  emp_table as table of emp_obj ;
  </code></pre>
  
  <p>Procedure</p>
  
  <pre><code>create or replace procedure getempid(emptype out emp_table)
  is
  cursor c1 is select empno from emp ; 
  begin 
  open c1;
  fetch c1 bulk collect into  emptype;
  
  close c1;
  end;
  </code></pre>
  
  <p>I am unable to understand why i am getting below error : </p>
  
  <blockquote>
    <p>Error(6,17): PLS-00386: type mismatch found at 'EMPTYPE' between FETCH cursor and INTO variables</p>
  </blockquote>