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
 General SQL Server Forums
 New to SQL Server Administration
 Copy tables to a dummy database

Author  Topic 

Adam West
Constraint Violating Yak Guru

261 Posts

Posted - 2009-08-26 : 10:39:43
I have to copy some tables into a dummy database how do you do this?

Also after that I want to copy this entire dummy database to my C: drive so I can work with this at home.
How do you do this?

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2009-08-26 : 10:46:12
There is no such thing as a Dummy database. It is just another database.

To do this there are many ways, you could use import/export wizard, BCP, Simple T-SQL with a linked server, SSIS..

What is the size of these tables? The easiest way if they aren't too large is to BCP:

http://www.nigelrivett.net/SQLTsql/BCP_quoted_CSV_Format_file.html
Go to Top of Page

Adam West
Constraint Violating Yak Guru

261 Posts

Posted - 2009-08-26 : 10:58:36
Thanks, I did this now. piece of cake.
Go to Top of Page
   

- Advertisement -