【Oracle】ORA-06553: PLS-306: wrong number or types of arguments in call to ‘存储过程‘
问题描述
调用存储过程,报错:“ORA-06553: PLS-306: wrong number or types of arguments in call to '存储过程'”
原因分析
存储过程一开始只有两个入参,后又增加了一个出参,而存储过程的调用处没有修改,导致三个参数只传了两个。
解决方法
由于加了一个out参数,不能直接用call来调用存储过程了。所以,把存储过程的调用放在declare语句块中。
例如:
declareactualNum number(10);
beginproc_interface_name('param1','param2',actualNum);dbms_output.PUT_LINE('受影响的行数:' || actualNum);
end;
参考文章
【Oracle】ORA-06553: PLS-306: wrong number or types of arguments in call to ‘存储过程‘相关推荐
- java call oracle procudure setBoolean问题PLS-00306: wrong number or types of arguments in call to
http://www.itpub.net/forum.php?mod=viewthread&action=printable&tid=1186364 java代码如下 可能是不能传递b ...
- oracle存储过程报错:ORA-06550: wrong number or types of arguments in call to
问题:ORA-06550: wrong number or types of arguments in call to 原因:参数问题造成: 解决方案:检查参数个数及参数值 转载于:https://w ...
- ora-06533:wrong number or types of arguments in call to 'XXX'
产生这个错误往往出现在带有子查询的语句当中 select v.* from( select u.user_id,u.user_name,u.start_date from sys_user u) v ...
- Oracle Ora 错误解决方案合集
Oracle Ora 错误解决方案合集 参考文章: (1)Oracle Ora 错误解决方案合集 (2)https://www.cnblogs.com/ios9/p/8627643.html 备忘一下 ...
- Oracle 导出、导入某用户所有数据(包括表、视图、存储过程...)
Oracle 导出.导入某用户所有数据(包括表.视图.存储过程...) 前提:在CMD 命令下 导出命令:exp 用户名/密码@数据库 owner=用户名 file=文件存储路径(如:F:\abcd. ...
- 记录错误:NotImplementedError: Wrong number or type of arguments for overloaded function
最近做项目,接触到GDAL库,在网上找了教程,按照教程提示安装成功,但是做坐标转换的时候,程序一直报错,然而在本地跑时是没有任何问题的 File "/home/py_server/ers/z ...
- Wrong number or type of arguments for overloaded function ‘CoordinateTransformation_TransformPoint‘
升级python环境时gdal出现缺少proj的问题 gdal在做坐标转换时报出如此的错误.原系统的代码没有改变,为了更新sentinelhub包,将python环境由3.6升级至3.7.升级了pyt ...
- oracle ora 00283,【案例】Oracle报错ORA-16433非归档丢失redo无法启动的恢复过程
天萃荷净 Oracle研究中心案例分析:运维DBA反映Oracle数据库处理非归档模式,redo文件损坏常规修复无法正常open数据库. 本站文章除注明转载外,均为本站原创: 转载自love wife ...
- ORACLE ORA错误码大全 (备忘)
ORA-00001: 违反唯一约束条件 (.) ORA-00017: 请求会话以设置跟踪事件 ORA-00018: 超出最大会话数 ORA-00019: 超出最大会话许可数 ORA-00020: 超出 ...
最新文章
- iOS-Swift中的递增(++)和递减(--)被取消的原因-官方答复
- Flutter环境搭建(Windows)
- squid+iptables实现透明代理
- 解决windows文件在linux系统中显示乱码的问题
- Getting Started with Node.js LoopBack Framework and IBM Cloudant
- “速卖通”店铺3天销量破零运营技巧
- Java ClassLoader
- c++ datetime mysql_转:C++操作mysql方法总结(1)
- 如何用100美元和TensorFlow来造一个能“看”东西的机器人
- 设计佣金问题的java程序_三角形、nextday、佣金问题实验报告.doc
- 老男孩linux运维50期-谢江平
- php kindeditor远程图片上传,KindEditor远程跨域上传的实现
- Python 数据挖掘(一) 模块安装部署 numpy等
- 【Paper】2013_Attitude and Altitude Controller Design for Quad-Rotor Type MAVs
- 联想电脑黑屏但电源键亮着的解决办法
- 如何学好游戏3D引擎编程(摘抄)
- ExifTool文件鉴定器
- WUST 五一萌新向CTF writup
- 【递推矩阵快速幂】hdu 2604
- 第一行代码-android-第三版-pdf扫描-思维导图-课件-源码