0
我需要验证一个具有out游标参数的过程。具体而言,我需要查看什么是检索。如何在PLSQL块中探索出游标参数?
我试试这个:
declare
type cursor_out is ref cursor;
cur cursor_out;
fila activ_economica%rowtype;
procedure test(algo out cursor_out) is
begin
open algo for select * from activ_economica;
end;
begin
test(cur);
for i in cur loop
fila := i;
dbms_output.put(fila.id_activ_economica ||' ');
dbms_output.put_line(fila.nom_activ_economica);
end loop;
end;
的错误是 “小人” 一直没有被定义。
excelent,我搜索了很多,我找不到任何东西,你救了我一天的工作:D – mjsr