Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Follow up on dynamically naming...

Author  Topic 

nsteiner
Starting Member

13 Posts

Posted - 2001-03-29 : 13:22:40
...a new database using CREATE DATABASE.

When I create each new database, I want all of them to have the same schema (or design).

Is there a way to easily copy another database's schema?

I understand how to generate the SQL scripts for each table I would like to include, but is there a simple script that basically "copies" the structure of a "model" database?

Thanks.

   

- Advertisement -