right click database,
Tasks
Generate Scripts...
Follow the wizard and include all the items what you want to be script of a certain database...
EDIT: ouch saw it to late it was in the SQL 7 /2000 forum. If this is correct ignore my answer
EDIT2: just checked it on a SQL 2000 its also there the script wizard 😀