伪代码如下,假设参数2为procedure中 out类型的输出值:
declare
a varchar2(120);
b varchar2(130);
begin
a := 参数1;
b := '';
begin
[pacakge].[procedure](参数1 -> a, 参数2 ->b);
dbms_output.putline('b = '||b);
exception
when others then
dbms_output.put_line(sqlerrm);
end;
end;
/