Author: Shameer
•8:54 PM
Open Microsoft SQL Server -> Enterprise Manager

Click here for larger image


Click here for larger image

Right Click and Select New SQL Server Registration

Click here for larger image

Click Next.
Click here for larger image

Enter the Servername and click Add button

Click here for larger image


Then Click Next button

Click here for larger image


Again Click Next

Click here for larger image

Click Next


Click here for larger image


Click Finish

Click here for larger image


Once the server is connect click Close

Click here for larger image


Click here for larger image

Now the server is connected and it will list the database. Select the corresponding database.

Click here for larger image



Click here for larger image

Click Stored Procedure from the Tree

Click here for larger image


Select all the procedure in the right side grid using Ctrl + A

Click here for larger image

Now right click select All Tasks -> Generate SQL Script and click Ok


Click here for larger image
Give a name for the script and select the path to Save

Click here for larger image

Progressing

Click here for larger image

Now the script is saved successfully

Click here for larger image

Now we can view the script from the My Documents folder where we saved initially