如何在asp.net中运行类似PL / SQL块的查询 [英] How to run query like PL/SQL block in asp.net

查看:76
本文介绍了如何在asp.net中运行类似PL / SQL块的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



请有人告诉我如何在oracle命令的asp.net代码中运行下面的PL / SQL块



Hi All,

Please anyone tell me how can i run the below PL/SQL block in asp.net code in oracle command

declare
  v_out number;
begin
    PRC_SET_ODS_PROCESS_STATUS(''wf_PRCSSINT_HFM_DATA_LOAD'',''Completed'',v_out);
end;





我想尽快找到这个解决方案。



提前致谢



Suman Zalodiya

推荐答案

每个人都希望我们尽快为他们完成工作。这不是我们的问题。



运行任意SQL的最佳方法是将其放入存储过程并调用它。
Everyone wants us to do their job for them, as soon as possible. That''s not our problem.

The best way to run arbitrary SQL is to put it in to a stored proc and call that.


这篇关于如何在asp.net中运行类似PL / SQL块的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆