Thursday 16 October 2014

MS SQL - Command to show code of stored procedure

Watch this example on YouTube
Execute the following
SELECT OBJECT_DEFINITION (OBJECT_ID(N'dbo.NameOfTheStoredProcedure'));

No comments:

Post a Comment