當前位置:首頁 » 存儲配置 » 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