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.
| Author |
Topic |
|
twystedpair
Starting Member
5 Posts |
Posted - 2008-02-12 : 10:49:11
|
| I am fairly new to SQL, so please forgive me if my question is a bit elementary. I need to pull two individual tables out of a massive DB into a new DB for testing.Thanks for the help. |
|
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2008-02-12 : 11:39:13
|
| In SQL terms RESTORE implies restoring from a BACKUP copy of a database.You can't partially restore a database. You would have to restore the full backup/copy and then extract the 2 specific tables into the new DB. The latter can be achieved via an insert into newdatabase.dbo.newtableselect col1,col2,col3,etc from olddatabase.dbo.oldtablestyle query.... |
 |
|
|
jackv
Master Smack Fu Yak Hacker
2179 Posts |
Posted - 2008-02-12 : 12:29:17
|
| You could also use SSISJack Vamvas--------------------Search IT jobs from multiple sources- http://www.ITjobfeed.com |
 |
|
|
|
|
|