title: How to use a nested table in a cursor
body: <pre><code>CREATE PROCEDURE( p_cur  OUT a_cur)
  IS
  type rec is record( a varchar2(2), b number, c number);
  type tab is table of rec;
  tab1 tab:=tab();
  begin
  
  tab1.extend;
  tab1(tab1.last).a:='as';
  tab1(tab1.last).b:=2;
  tab1(tab1.last).c:=3;
  tab1.extend;
  tab1(tab1.last).a:='jj';
  tab1(tab1.last).b:=2;
  tab1(tab1.last).c:=3;
  
  --??---
  end;
  </code></pre>
  
  <p>I have created a nested table here tab1 ,but my issue is that i want to use this nested table in a cursor and want to return whole records using this nested table ,limitation is that i dont want to use any temporary table .
  I am using RDBMS as ORACLE</p>