How to see the code for stored procedures in sql server report builder

braw rajab 21 Reputation points
2021-04-18T09:43:12.957+00:00

how can i see the code for a stored procedure in sql server report builder 3?

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.
3,061 questions
0 comments No comments
{count} votes

Accepted answer
  1. Olaf Helper 47,436 Reputation points
    2021-04-19T06:36:58.01+00:00

    how can i see the code for a stored procedure in sql server report builder 3?

    Report Builder is tool to create reports, it can not show you the source code of a stored procedure, it can onyl consume the result of a SP.
    Use SSMS to script out the source code of the SP => Script stored procedures


1 additional answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,631 Reputation points
    2021-04-19T06:24:57.27+00:00

    Hi @braw rajab ,

    View stored procedure code can only be in SSMS.
    Right click on the stored procedure and select Script Stored Procedure as | CREATE To | New Query Editor Window / Clipboard / File.

    You can also do Modify when you right click on the stored procedure.

    For multiple procedures at once, click on the Stored Procedures folder, hit F7 to open the Object Explorer Details pane, hold Ctrl and click to select all the ones that you want, and then right click and select Script Stored Procedure as | CREATE To.
    Best Regards,
    Joy


    If the answer is helpful, please click "Accept Answer" and upvote it.
    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 comments No comments

Your answer

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