I am looking for a script that will write out all the sprocs in a SQL Server 2000 database to a textfile, preferably as a series of “CREATE PROCEDURE” statements.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Enterprise manager provides the ability to script any and all objects in the database. I’m using Sql 05, but I seem to remember the method being:
Unfortunately I don’t have SQL 2000 Enterprise Manager available in front of me, but there is an option in the context menu to script any objects you desire.