How to use Rollback statement in SQL server.

  • How to use Rollback statement in SQL server.

    Issue: I have update a table but i want to revert it back to old values. can any one tell me step by step what i have to do.

    Thanks in advance.

  • ROLLBACK is used when you have an open transaction to undo the changes for that transaction. It doesn't work after transactions have already been committed. This article [/url]I wrote at Simple-Talk goes over the basics of how to use transactions.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply