现在已经创建了一个有输出参数的存储过程,
我想知道怎么调用这个存储过程,在pl/sql dev环境中,
这是我写的大致格式,麻烦高手在此基础上帮我完善一下!非常感谢!
declare
v1 int
call p_test1(1,v1);
dbms_output.put_line(v1);
end;
我想知道怎么调用这个存储过程,在pl/sql dev环境中,
这是我写的大致格式,麻烦高手在此基础上帮我完善一下!非常感谢!
declare
v1 int
call p_test1(1,v1);
dbms_output.put_line(v1);
end;
v1 int;
begin
p_test1(1,v1);
dbms_output.put_line(v1);
end;
/
再问一下,这种写法——在pl/sql dev中定义参数(declare v1 int),只能是在测试时这样写吧,在正在的开发中,这种写法是用不上的吧!谢谢!
v1 int;
begin
p_test1(1,v1);
dbms_output.put_line(v1);
end;
问题可以问的更清楚点