Oracle的存储过程

oracle存储过程中的返回结果集

create or replace procedure test
as
begin
cursor cursor_test is select * from a;
row_test a%rowtype;
begin
for row_test in cursor_test loop
dbms_output.put_line(row_test.ano||row_test.aname||row_test.aage);
end loop;
end test;


调用方法:

调用方法:
(1EXEC test;
(2begin
test;
end;

.net调用Oracle存储过程

原文地址:https://www.cnblogs.com/xiaofengfeng/p/3185941.html