简体   繁体   English

从Oracle调用SSRS存储过程

[英]Call SSRS Stored Procedure from Oracle

I have a Report in SSRS that I need to deliver whenever a table in an Oracle DB is updated. 我在SSRS中有一份报告,每当更新Oracle DB中的表时,都需要提供该报告。

My plan was to create a trigger in the Oracle DB that on update would tell the Report in SSRS to deliver. 我的计划是在Oracle数据库中创建一个触发器,该触发器在更新时将通知SSRS中的报告交付。 The trigger would call a Stored Procedure in SSRS that would then use 'FireEvent SOAP API' to run the report. 触发器将在SSRS中调用存储过程,然后使用“ FireEvent SOAP API”运行报告。

I can't seem to find anything about calling SP's in SSRS from Oracle. 我似乎找不到从Oracle在SSRS中调用SP的任何信息。

Any help would be greatly appreciated as I am pretty new to this stuff. 任何帮助将不胜感激,因为我对这些东西还很陌生。 (Been using SQL for about 2 weeks :/) (使用SQL大约2周:/)

Usually I use a stored procedure inside a package , for calling that SP I do the following : 通常,我在包内使用存储过程来调用SP,我会执行以下操作:

  • In the RDL file Click on Data tab to create a new Dataset . 在RDL文件中,单击“数据”选项卡以创建一个新的数据集。
  • Select New Dataset , Select The data source and rename the Dataset . 选择“新数据集”,选择“数据源”,然后重命名“数据集”。
  • In the Command type , select Procedure instead of Text . 在“命令”类型中,选择“过程”而不是“文本”。
  • In the Query string Box , write the name of the Procedure then click “OK”. 在查询字符串框中,输入过程名称,然后单击“确定”。

    *Name of Procedure within a package can be PKG_EXAMPLE.SP_NAME *包中的过程名称可以是PKG_EXAMPLE.SP_NAME
    *Name of Procedure without a package can be SP_NAME *没有包的程序名称可以是SP_NAME

Hope this helps 希望这可以帮助

Thanks, Sufian. 谢谢苏菲安

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM