当前位置:首页 » 存储配置 » oraclecall存储过程

oraclecall存储过程

发布时间: 2025-07-31 20:04:47

1. oracle调用存储过程,call和exec有什么区别

oracle 中调用存储过程可以用exec,或begin……end,但无法使用call。

但exec只可以在命令行下执行,如sqlplus下或plsql的命令窗口下执行,但begin……end可以用第三方工具或命令行下执行。

如图:

命令下执行:

2. C# 调用oracle 存储过程 报错PLS-00306: wrong number or types of arguments in call to 'FETCH_INP_FEE'

create or replace procere abc.bcd(t1 in varchar2,t2 in number,t3 out varchar2 ,t4 out number,t5 out number , t6out number ,t7 out number )
/* 这部分要注释掉,你的参数是传入的,这里不能重复申明
declare
t3 varchar2(20);
t4 number;
t5 number;
t6 number;
t7 number;
*/

begin
inpbill.fetch_inp_fee('123', 1, t3, t4, t4, t5, t7);
end;

3. Oracle_存储过程调用的疑问(CALL, EXECUTE的区别)

exec是sqlplus的命令,只能在sqlplus中使用。
call是sql命令,任何工具都可以使用

热点内容
java返回this 发布:2025-10-20 08:28:16 浏览:585
制作脚本网站 发布:2025-10-20 08:17:34 浏览:881
python中的init方法 发布:2025-10-20 08:17:33 浏览:574
图案密码什么意思 发布:2025-10-20 08:16:56 浏览:761
怎么清理微信视频缓存 发布:2025-10-20 08:12:37 浏览:678
c语言编译器怎么看执行过程 发布:2025-10-20 08:00:32 浏览:1005
邮箱如何填写发信服务器 发布:2025-10-20 07:45:27 浏览:251
shell脚本入门案例 发布:2025-10-20 07:44:45 浏览:108
怎么上传照片浏览上传 发布:2025-10-20 07:44:03 浏览:799
python股票数据获取 发布:2025-10-20 07:39:44 浏览:705