Programmatically retrieve SQL Server stored procedure source that is identical to the source returned by the SQL Server Management Studio gui? Programmatically retrieve SQL Server stored procedure source that is identical to the source returned by the SQL Server Management Studio gui? sql-server sql-server