title: Create a view with a cursor
body: <p>I try to create a view with the resultset of a cursor returned by a function.</p>
  
  <p>I create the function return cursor <code>SELECT custom_util.Error_Ex_Dep from dual</code></p>
  
  <p>And when I try to create the view with :</p>
  
  <pre><code>CREATE OR REPLACE VIEW CUSTOM_V_ERREUR_E_D AS
     SELECT custom_util.Error_Ex_Dep 
       from dual
  </code></pre>
  
  <p>I get <code>ORA-02345</code>.</p>