Oracle支持通过ref游标在调用存储过程后返回结果集, 使用游标在内存消耗以及时间上都要大大的优于返回数组变量的做法! 示例如下:数据库方面,建立一个Package create or replace package ref_cur_demo is type rc is ref cursor ; procedure ref_cursor(p_owner in varchar2 ,p_cursor in out rc); end ref_cur_demo; create or replace package body ref_cur_demo is