How to view the stored procedure code in SQL Server Management Studio January 15, 2023 by Tarik I guess this is a better way to view a stored procedure’s code: sp_helptext <name of your sp>