Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using a database that resides on 1 server. Now I want exactly the same copy of that database on my system. I tried export data but that only gets the tables and vies . I am not able to get the stored procedures in the database. Can anyone help me on this other than backup ?
Posted

you need to access your database first which is you want to copy the store procedures and then right click on it and then tasks then generate scripts. After you choose your database it shows you some selections like tables, views, stored procedures ...etc. Choose stored procedures and it will generate a script.sql file.
For practical reference :- Copy stored procedures to different database[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900