c#调用oracle Function 如何取得return?

langyoujx 2015-05-22 08:11:51
oracle有一自定义函数Function GETMAXNO 返回值有这些,不知道怎样在c#中取得此函数返回值?
Return Number Is
V_lngmaxid Number(10);V_lngminid Number(10);V_lngid Number(10);P_lngvoucertypeid Number(10);P_lngorganizationid Number(10);
Cursor C_voucherno Is
Select Intvoucherno From Voucher Where Intyear = P_inty And Bytperiod = P_bytp And Lngvouchertypeid = P_lngvoucertypeid And Strdate = P_strdate And Lngsourceorganizationid = P_lngorganizationid Order By Intvoucherno;
...全文
270 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
return出太多的结果了…… 直接用select将结果select出来吧
江南小鱼 2015-05-22
  • 打赏
  • 举报
回复

110,533

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧