SQL Server: Create a duplicate of a database without the data

时间:2015-06-30 13:49:46

标签: sql sql-server toad

I have a database called AQOA_Core with huge amount of data. I have a newly created database called AQOA_Core1 which is basically empty. I want to write a query to duplicate AQOA_Core to AQOA_Core1 without the data. I guess to be precise I want to create a skeleton of the primary database into the secondary database. PS: I use Toad for my database operations.

1 个答案:

答案 0 :(得分:1)

You can use SQL Server Script Wizard for scripting database objects. You can exclude data, and select the database object types you want to include in your script

Please check the SQL Server guide I referenced above, I hope it helps you

相关问题