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 Administration (2000)
 Is it Possible to copy the entire database using a sql command

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-07 : 09:03:28
chandrasekhar writes "we are using sqlserver2000 as backend. i want sqlcommand which copies the existing database (which includes tables which are having all constraints,indexes,stored procedures,triggers)and creates a new one. i don't want to do this using wizard. At run time i should do this. i will just pass the new database name. it should create a copy of the exitsting database only(without the data).

if any one knows the solution please let me know immediately...

Thanks in advance....

Chandra"
   

- Advertisement -