Looking at the rest of this thread, it appears you are familiar with
Enterprise Manager, which is a good spot to alter your procs. You can
certainly alter them from code, using the DDL statement ALTER PROCEDURE,
followed by the entire header and body of the sproc.
If you are attempting to create a tool for this, I can see where you are
going. If you are altering sprocs based on application logic, that is not
wise. Sprocs should be solid when a product is released.
NOTE: Depending on the version of Visual Studio .NET used, you can alter
sprocs directly in the VS.NET IDE using the database tools.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
**********************************************************************
Think Outside the Box!
**********************************************************************