请问:存储过程中能不能返回游标呢? 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 Oracle存储过程 oracl 11g install 问题 temp表空间涨满,访问速度变慢的问题 sqlserver6.5转oracle 如何将Excel中的表作为记录插入到oracle中建好的相应的表中??? 谁能帮帮我!SQL查询问题! oracle数据库修复问题 特急!!! 还是imp导入问题 怎麼用語句的形式將游標參數傳到procedure裡面? ORACLE导入乱码,求大神赐教 触发器求救 在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;