请问:存储过程中能不能返回游标呢? create type mycursor is ref cursor;create procedure pro_test(p_c mycursor)is...begin...end; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以,将存储过程放到包中,利用引用游标返回。参看http://hi.baidu.com/zhao%5Fe893/blog/item/5c7097356a9d8f1190ef3937.html CREATE OR REPLACE procedure ll_04 ( p_cursor out sys_refcursor)isbeginopen p_cursor for select area_id from b_areas; end ll_04; http://www.psoug.org/reference/ref_cursors.html sql 分组计数 求 Oracle10g patch 5391050 下载连接! 请教一个instr的问题,谢谢。 征询standby热备数据库的创建步骤? 数据库性能调优 用触发器在删除某一条记录前把该记录insert到备份表 循环执行存储过程 安装oracle的问题? 模糊查询! Oracle9i在win2003上安装的时候是不是有问题啊? 触发器求救 在delphi中查询字段类型没有返回值?(加急件!鸡毛贴!!!)
参看http://hi.baidu.com/zhao%5Fe893/blog/item/5c7097356a9d8f1190ef3937.html
( p_cursor out sys_refcursor)
is
beginopen p_cursor for select area_id from b_areas;
end ll_04;