17,378
社区成员
发帖
与我相关
我的任务
分享
SQL> create or replace procedure readData(rowData out a_luo%rowtype) as
2 declare
3 cursor cs is select * from a_luo;
4 begin
5 for x in cs loop
6 rowData:=x;
7 end loop;
8 end;
9 /
警告: 创建的过程带有编译错误。
SQL> create or replace procedure soldierluo.readData(rowData out a_luo%rowtype) as
2 declare
3 cursor cs is select * from a_luo;
4 begin
5 open cs;
6 while cs%found loop
7 fetch cs into rowData;
8 end loop;
9 close cs;
10 end;
11 /
警告: 创建的过程带有编译错误。