To undo any changes made since the last commit or rollback.
ROLLBACK [ WORK ]
Anywhere.
Must be connected to the database.
Closes all cursors not opened WITH HOLD.
The ROLLBACK statement ends a logical unit of work (transaction) and undoes all changes made to the database during this transaction. A transaction is the database work done between COMMIT or ROLLBACK statements on one database connection.