"RugbyCoach" <simon.schmidt@gmail.com> wrote in message
news:1106848703.674904.278230@f14g2000cwb.googlegr oups.com...[color=blue]
> I'm looking for a tool that can extract only the schema from a database
> in a form that can be used to generate that schema in another empty
> database. This is to facilitate our disaster recovery processes where
> we need the objects only, not the data, and need to replicate this to
> our disaster recovery site over the WAN. There are plenty of tools
> that can handle a single database, but does anyone know of any tools
> that could handle multiple databases where many of the objects (stored
> procs and views) are dependent on objects in other of the databases
> (tables). This is a home-grown ETL suite so making changes to the code
> to remove these dependencies would take way too much effort. I am
> looking for something that can either extract the schema for all 3
> databases and handle the object creation ordering to account for the
> dependencies (a simple method would be to extract by object type across
> all databases, e.g. tables for all dbs before views before procs), or a
> backup/restore tool that allows you to restore the objects only without
> data. Worst case we could write something to generate the DDL or use
> SQL DMO, but ideally we would prefer to purchase a (relatively
> inexpensive) tool to do it.
>
> Thanks,
> Simon
>[/color]
It sounds as if the scripting functionality in EM could do what you want,
but is your aim to automate the scripting process? If so, then something
like this might be what you want:
http://www.red-gate.com/sql_comparis...on_toolkit.htm
Just out of curiosity, in a disaster recovery situation, why would you want
the objects but not the data? Why not use replication or log shipping to
maintain a standby copy of your databases?
http://support.microsoft.com/default...b;en-us;822400
Simon