-1
如何解決這一個,無法取得? 我傳遞IN參數但仍無法獲取。傳遞參數但無法獲取?
create or replace procedure p1(p_ename in varchar2,p_sal out number)is
begin
select salary into p_sal from employees where last_name=p_ename;
dbms_output.put_line(p_sal);
end;
variable b number;
execute p1('King',:b);
[info](https://infoallsite.wordpress.com/2016/01/29/unable-to-fetch- data)
[error][1]
' got error ,but only one row has last_name as King, '
how to resolve I want to get the salary of king.
[1]: http://i.stack.imgur.com/AsOHG.png'
是它返回2行,三江源 – S123DB8
如果你的作品,然後通過點擊打勾符號上留下答案的接受答案,因此它可以被關閉。謝謝 – Utsav