ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'P'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

 

这是报错;

原因:

使用exec p调用的有输出参数的存储过程,这是不对的。

解决方案:

如果需要调用有输出参数的存储过程,要使用begin end 块

declare

  jjj varchar2(4096);

begin

  p(,,jjj);

end;

成功执行。

posted on 2015-06-12 14:12  37度的冰  阅读(1266)  评论(0编辑  收藏  举报