select definition from sys.sql_modules
Run only given query and you will get all script/definition of all stored procedures in a list(table) form
Get definition/Script of all stored procedures of a database.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQL ServerBasics of SQL ServerDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.