存储过程中查询到的记录集以一个游标的形式返回出去
我写了以存储过程,主要代码是这样的: 
 create   package   pack1 
 as 
 begin 
                   type   v_operater_Tab_cur_type   is   ref   cursor; 
 end; 
 create   or   replace   procedure   P_SYS_GetButtonListByOBJ 
 (v_objID   IN   INTEGER,v_operater_Tab_cur   OUT   pack1.v_operater_Tab_cur_type)   is 
 ;; 
 begin   
 end   ; 
 在编译的时候报:必须说明标识符 'pack1.v_operater_Tab_cur_type ',请问出错在哪里?
------解决方案--------------------create package pack1 
 as 
       type v_operater_Tab_cur_type is ref cursor; 
 end;   
 create or replace package body pack1 
 as 
 begin 
     null; 
 end; 
 /