In case the link gets broken:
- Mouse right-click on the database in question, in the database explorer
- Select Tasks
- Select Generate Scripts
- Choose all the objects you want the scripts to be generated.
That's all.
Keeping track of interesting places I put my feet on in the software development world.