How to view the stored procedure code in SQL Server Management Studio

后端 未结 9 606
予麋鹿
予麋鹿 2021-01-30 19:35

I am new to SQL Server. I am logged into my database through SQL Server Management Studio.

I have a list of stored procedures. How do I view the stored procedure code?

9条回答
  •  不要未来只要你来
    2021-01-30 20:11

    In case you don't have permission to 'Modify', you can install a free tool called "SQL Search" (by Redgate). I use it to search for keywords that I know will be in the SP and it returns a preview of the SP code with the keywords highlighted.

    Ingenious! I then copy this code into my own SP.

提交回复
热议问题