create or replace function test() is
o sys_refcursor;
r a%rowtype;
begin
open o for select * from a where id=5;
fetch o into r;
if o%fount then
insert into b (m) values (r.k);
end if;
return o;
end; 不回傳資料,請指教
uj5u.com熱心網友回復:
怎么呼叫的,貼一下陳述句。uj5u.com熱心網友回復:
最好別在函式中執行inset等操作,會給你的事務處理帶來很多麻煩轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/92143.html
標籤:開發
上一篇:rman 匯入目錄報錯
下一篇:oracle 游標 使用后再回傳
