We have something like Frank Martinez' grant query that we use to push changes to production. It generates a complete script with object
DDL, grants and stats to collect based on what's actually in the development environment. Database references then get turned into generic tags
which are automagically replaced with production database names when the creation script is run on that side. We also use the resulting ddl
scripts with a change control system. (And since a developer could check out one of these files, modify it and check it in w/o changing the
database, we have another variation that dumps out SHOW