ScriptDB will generate scripts for all objects and (optionally) data in any SQL 2000/2005 database. It is a console application written in C#. The source code is freely available so you can modify it to meet your needs if you know a little C#.
Put a free download button on your own website
Support SqlSpec, just copy+paste this html: