Home > Uncategorized > Take backup of all SQL stored procedures

Take backup of all SQL stored procedures

Use Management Studio for SQL 2005 and drill to the database you want the stored procedures from and right click the database name.

From the Task menu option select generate scripts to launch the wizard.

Click next.

Make sure the database you want is selected and click next and next again.

You should be on the Choose Object Types page and here just select Stored Procedures.

After clicking next you are on the Choose Stored Procedures page and now you can select the procedures that you want.

Click Finish to begin the process and when it finishes you will have a new query windows with a create script that you can save.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: