What I want to do is simulate right clicking a stored procedure an selecting Modify, then execute so that my stored procedure runs.
Some of the tables in our database have changed and not all the sp's have been modified. ie old SP =
ALTER PROCEDURE [dbo].[myProcedure] SELECT name, address, typename from names GO
Then the names table was modified and the typename column removed.
If i click modify on the SP then execute I get an error message in the messages output window.
I would like to do this for every sp in my database so i can see that it runs without errors. (we have 200 sps and it would take a long time to do it manually)
Any ideas would be much appreciated.