create or replace package ref_cursor_package as
type t_ref_cursor is ref cursor;
function func_getAllResource return t_ref_cursor;
end ref_cursor_package;create or replace package body ref_cursor_package as
function func_getAllResource
return t_ref_cursor is
resource_cursor t_ref_cursor;
begin
open resource_cursor for
select * from t_resource;
return resource_cursor; end func_getAllResource;end ref_cursor_package;
出什么错误?
type t_ref_cursor is ref cursor;
function func_getAllResource return t_ref_cursor;
end ref_cursor_package;create or replace package body ref_cursor_package as
function func_getAllResource
return t_ref_cursor is
resource_cursor t_ref_cursor;
begin
open resource_cursor for
select * from t_resource;
return resource_cursor; end func_getAllResource;end ref_cursor_package;
出什么错误?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货