}
*********************************************************************************************
注如果是ORACLE一定要注意过程中需要返回记录集游标
create or replace procedure sp_testPROC
(
param1 varchar2,
p_cursor in out ego.cursorType
--,p_cursor2,p_cursor3
) as
begin
open p_cursor for
select * from sys_user;
end ;
注:最多返回3个记录集
如果返回超过1个以上的记录集需要在dbgr里面指定,代码如下:
dbgr.ResultNum = 2;
create or replace procedure sp_testPROC
(
param1 varchar2,
p_cursor in out ego.cursorType
--,p_cursor2,p_cursor3
) as
begin
open p_cursor for
select * from sys_user;
end ;
注:最多返回3个记录集
如果返回超过1个以上的记录集需要在dbgr里面指定,代码如下:
dbgr.ResultNum = 2;
【方正飞鸿智能信息平台 www.founderfix.com 个人免费,开发功能及权限不受限】