[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


SQL Server 2005 Rollback transactions before 5pm today

Posted on 2007-10-06
Medium Priority
Last Modified: 2008-01-09
SQL 2005 Server.  I need to rollback transactions I did today or before 5pm how can I do this.
Question by:mphillip85
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 20029125
Option 1 :

Restore the backups till 5pm

option2 :

Install Lumigent Log explorer and try to undo the transactions (not guarenteed )
LVL 15

Expert Comment

ID: 20029149
Starting at woat time today? If you need to clean out the databaswe as of minight last night, THe that is the backup you restore (backup and los made a midnight). That provides you with a completely clean (for the most part) database up to the start of the day. The, but figuring out what time your 'crash' or 'corruption' occurred, you would restore indivivual logs up to that point in time. In other workds, if the problem occured at 1:30 and you have 8:AM, 10AM, 12PM, 2PM, 4PM and 6PM log backups, you would restore the 8:AM, 10AM, 12PM. logs. You would not restore the 2PM log as that will provide you with 30-minutes of bad data, In this scenarion, you lose 1.5 hours of transactions. There are third party products but the glass of wine in me is not letting an one in particular come to moind. Perhaps someone eles is able to supply a provider.
LVL 30

Accepted Solution

nmcdermaid earned 1500 total points
ID: 20029299
You can restore a log to a point in time (assuming you were using the full recovery model)

See these links in the SQL 2005 help file:


Author Comment

ID: 20029322
It says the backup device is not found.  I want to use the current log it has.  I backup the database with copy database to another server but the copy job failed and does not have the data I need.

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question