如何执行带参数的存储过程ORCAL数据库
金蝶云社区-黄会兴_yellocomet
黄会兴_yellocomet
0人赞赏了该文章 749次浏览 未经作者许可,禁止转载编辑于2016年04月26日 15:24:24

ORCAL数据库 存储过程执行测试没有问题
declare FInterID number(19);
begin
sp_GetMaxNum('TC_T_Principal',FInterID);
dbms_output.put_line(FInterID);--在PL/SQL中查看最新的内码,程序中可以删除本行
end;

在CLOUD中C#做单据插件如何调用并返回参数FINTERID

long FBalID = 0;
List listParam = new List;
string StrTb = "StrTb";
listParam.Add(new SqlParam(StrTb, DbType.String, 'TC_T_Principal', ParameterDirection.Input));
listParam.Add(new SqlParam(FBalID, DbType.Double,0,ParameterDirection.Output));
string StrProc = "/*dialect*/sp_GetMaxNum ";
DBUtils.ExecuteDataSet(this.Context, CommandType.StoredProcedure, StrProc, listParam);
偿试该方法,不成功,ExecuteDataSet返回结果是DT表的形式,请老师们给予回复,项目开发过程中急用。