Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql Server 2005 - restore single table from backup

Status
Not open for further replies.

samurrai

MIS
Mar 10, 2009
20
US
I've got one table in a sql server database that was messed up during a recent update. I want to restore this table from an earlier backup. What is the easiest way to accomplish this?

Thank you!
 
Create a new database
Restore that update into that NEW database.
Then Truncate the table in your database and finaly:
Code:
INSERT INTO YourDataBase.dbo.TableName
SELECT * FROM NewDataBase.dbo.TableName

Borislav Borissov
VFP9 SP2, SQL Server 2000/2005.
 
Thank you. That was very helpful. I was able to sucessfully restore the table using the data from the backup.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top