Share via

Execute SSRS report from SQL SERVER stored procedure.

NishchalG 41 Reputation points
2021-11-09T03:50:49.887+00:00

Hello :),

I tried to search the forum but I could not find the solution.

I have a SSRS report which works fine. Can I call it From a Stored Procedure ?

Thanks,
Warm Regards,
Nishu.

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.


Answer accepted by question author
  1. ZoeHui-MSFT 41,551 Reputation points
    2021-11-09T07:17:33.907+00:00

    Hi @NishchalG ,

    What do you mean of call the report from a Stored Procedure?

    If you want to render a SSRS report to PDF using TSQL/stored procedure, you may use the Reporting Services web services to render a report to PDF format. We are able to use CLR stored procedure to call a web services.

    Take a reference here.

    If you want to create a subscription of the report, you may set the subscription as an agent job which can also be started from stored procedure.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.