Copying a SQL Server stored procedure with a query
I want to copy a SQL Server 2005 stored procedure by using a query, much like the way a table is copied with one. Does a query exist that could perform this task for me?

Software/Hardware used:
ASKED: June 19, 2008  8:11 PM
UPDATED: June 19, 2008  9:43 PM

Answer Wiki:
You can use the procedure sp_helptext to query for the code which created the procedure.
Last Wiki Answer Submitted:  June 19, 2008  9:43 pm  by  Denny Cherry   64,520 pts.
All Answer Wiki Contributors:  Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.

 64,520 pts.