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?
This is another way of viewing definition of stored procedure
SELECT OBJECT_DEFINITION (OBJECT_ID(N'Your_SP'))