Script all stored procedures in Management Studio 2005

Marshall picture Marshall · Oct 6, 2008 · Viewed 63.4k times · Source

In Enterprise Manager you could script all SPs in a database through the right click menu, is there a way to do it in Management Studio?

Answer

Brian Kim picture Brian Kim · Oct 6, 2008

You can right click on the database and to go Tasks -> Generate Scripts...

This will allow you to script all or selected objects (schema, stored procedures, tables, users and views) with specific options.