table A:
col1
_______________________
jack
1200
20
peter
2000
10
robert
300
30
に
table B :
name sal deptno
-----------------------
jack 1200 20
peter 2000 10
robert 300 30
ここでは、プロシージャ パラメーターを使用してこれを行います。試してみましたが、エラーが発生しています。
create procedure GetDatafromtable_A(V_1 in varchar2)
as
CURSOR rwdatacursor IS select Raw_Data from table_a where rowid<=3)
T_record rwdatacursor%rowtype;
begin
open rwdatacursor;
loop
fetech rwdatacursor into T_record;
exit when rwdatacursor%NOTFUND;
insert into temp_process;
end loop
close rwdatacursor;
end;
これは私が試した codew ですが、多くのエラーが表示されます