Hi
Im using SQL server express and Management studio express, and i have a database attached called database1.
Now i would like to have an exact copy of this database, named database2.
I would only need the tables, and not the data in them, is there somehow i can do this?
There is no copy button in managment studio...
Create a new database called Database2, make Script of the database1 and open a query analyser window, change the database in the dropdown combo to datbase 2 (or run Use database2) and run the script
Steps to script database
(a) Right Click on DB
(b) Tasks Generate SQL Script and follow the instruction. You will get script without data.
Madhu
|||Thank you for that..
I have no idea what it did with those scripts and such, but it made a perfect copy like i wanted..
No comments:
Post a Comment