Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

SQL Server generating Scripts for Stored procedures and Views,functions

Hi ,

I want to generate scripts from  database for Stored procedures, views and functions..
As we have many Stored procs and views its very difficult to generate scripts one by one... on right clicking SP and copying the script.
instead want to generate a scripts which can generate scripts for all SP's and Views,Functions.
Please provide  valuable suggestions.
1 Solution
Ephraim WangoyaCommented:

You can use the script wizard

Right click on the database you want to generate scripts for

Select Tasks->Generate Scripts...

Follow the wizard and select the objects you want to script
N_SriAuthor Commented:

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now