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存储过程

 

posted @ 2013-07-12 11:18  小锋神  阅读(220)  评论(0编辑  收藏  举报