‘ORA-01008: 并非所有变量都已绑定 ’
--存储过程
create or replace procedure test1(rcursor out sys_refcursor) as
begin
open rcursor for
select t.id, t.value from ceshi t;
end;
/
--调用
declare
type cur is ref cursor;
begin
test1(:cur);
end;
说明:存储过程没有问题,调用时提示:‘ORA-01008: 并非所有变量都已绑定 ’
请问大侠这是怎么回事呢,我刚学存储的。