SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Script to export Stored Procedures

By Parag Sohoni,

This procedure when executed with the correct parameters, exports all stored procedures from a database into different .SQL files in the path specified.

UsageĀ  :

exec USP_PRINT_PROCS username, password, servername, databasename, directory path

Total article views: 427 | Views in the last 30 days: 1