oracle里面有很多类型就可以这样做
第一 参考游标 type c is ref cursor;
第二 复核数据类型 
create or replace type x as object
(   x     int,
    y    date,
    z    varchar2(25))create or replace type TableType as table of x
这些调用都要在package里面!
ok了!