patternsqlMinor
What is the easiest way to use a SQL Server backup to retrieve just a few rows?
Viewed 0 times
easiestrowsthewhatsqljustwayretrievefewserver
Problem
I need to manually retrieve a few rows from a SQL Server 2008 database backup. Normally I create a new database, restore the database backup to the new database, and run my queries. The database is huge, however, so it takes forever to restore.
Is there an easier way to get at the older data?
Is there an easier way to get at the older data?
Solution
There is no way to restore either a single table or a few rows in SQL server without a third party product. If the table for which you are trying to retrieve few rows is in a separate file group you can restore only that filegroup (assuming you have Enterprise edition).
Else use a third party product like Quest Litespeed. I believe it has a feature that lets you to restore just a table from backup.
If your database is huge, use backup compression (available in SQL 2008 R2 standard and enterprise edition). Usually, a compressed backup takes less time to restore.
Else use a third party product like Quest Litespeed. I believe it has a feature that lets you to restore just a table from backup.
If your database is huge, use backup compression (available in SQL 2008 R2 standard and enterprise edition). Usually, a compressed backup takes less time to restore.
Context
StackExchange Database Administrators Q#16127, answer score: 7
Revisions (0)
No revisions yet.