In the management of SQL 2005 and 2008: right-click on the database, select tasks → generate scripts. You should be able to follow the directions in the wizard from there.
In Sql 2000, you can simply select the procedures you want to copy, ctrl + c, to copy them, and then paste them into a new query window for another database and start it.
source
share