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 2005 Forums
 SQL Server Administration (2005)
 restore one table

Author  Topic 

Rushabh
Starting Member

11 Posts

Posted - 2008-10-09 : 10:32:47
Hi all,

I want to restore one table in SQL Server 2005 standard edition.
The backup is on SAN storage.

Can anyone help me write a script for this.




Regards,
Rushabh

DBA

lepeniotis
Yak Posting Veteran

75 Posts

Posted - 2008-10-09 : 10:52:26
If the table is in a different filegroup you can restore the filegroup. But What I would do is to restore the backup file as a different database (from the restore that you have the table like you want)and take the table and then insert it on the old database. The easiest way is to rename the old table or to delete it (I wouldn't do that).

Regards

MSc Advanced Computing Science
MSc Database Professional
Sheffield Hallam University
MCP (70-229, 70-228)
Industrial IT Engineer
Go to Top of Page

Rushabh
Starting Member

11 Posts

Posted - 2008-10-09 : 10:56:13
hey thanks for the suggestion..

i will try to do that..
hope it works..

if anyone has a query for that, it would be great..


Regards,
Rushabh

DBA
Go to Top of Page

swekik
Posting Yak Master

126 Posts

Posted - 2008-10-09 : 10:57:33
If you are using Quest Litespeed for backups & restores,you can restore a table from a backup file..
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-10-09 : 11:04:21
quote:
Originally posted by swekik

If you are using Quest Litespeed for backups & restores,you can restore a table from a backup file..



Really !! I didn't know that. Is it true?
Go to Top of Page
   

- Advertisement -