I have to download all stored procedures from a specific database.
There are around 130 stored procedures, and I can do it manually like by doing save as a file each one.
But is there any automatic option to download all ?
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.
1) Open SQL Server Management Studio
2) Select your database in the Object Explorer
3) Right click > Tasks > Generate Scripts
4) Select only stored procedures to be scripted out
5) Following the wizard through the steps; on the next screen, pick option
Single file per objectand define a directory where to put those files:With those options, you get one file per stored procedure, stored in the directory of your choice.