MSSQL описать хранимую процедуру SQLCMD

sp_helptext <name of your sp>
Super Snail