當前位置:首頁 » 存儲配置 » 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命令,任何工具都可以使用

熱點內容
怎麼知道支付寶密碼 發布:2025-09-17 07:12:37 瀏覽:422
壓縮性判斷句 發布:2025-09-17 07:11:44 瀏覽:140
php金額格式化 發布:2025-09-17 06:47:11 瀏覽:38
什麼是工作站伺服器 發布:2025-09-17 06:45:03 瀏覽:188
d盤無法訪問參數不正確 發布:2025-09-17 06:30:36 瀏覽:470
為什麼徵兵網無法訪問 發布:2025-09-17 06:19:31 瀏覽:376
mysqlsql語句變數賦值 發布:2025-09-17 06:19:26 瀏覽:37
真我3i什麼配置 發布:2025-09-17 06:17:59 瀏覽:141
輸入有效的伺服器地址ip 發布:2025-09-17 06:17:26 瀏覽:440
德育源碼 發布:2025-09-17 06:16:00 瀏覽:106