Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi how can i copy only stored procedures to another data base not tables how can i do could you please tell me
Posted

Hi,
This may help you (with SSMS 2008) :

Right click on desired database.

Select Tasks > Generate Scripts...

In Choose Objects section select Select specific database objects

Mark the stored procedure in which you are interested.

Generate their scripts and save it.

Then run the generated script in target database.

Good Luck.
 
Share this answer
 
 
Share this answer
 
Just after completing SP, ctrl+S.. U save that SQL file... Whenever u need, u can make use of that
 
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