Use this statement to end a transaction and undo any changes made since the last COMMIT or ROLLBACK.
ROLLBACK [ WORK ]
A transaction is the logical unit of work done on one database connection to a database between COMMIT or ROLLBACK statements. The ROLLBACK statement ends the current transaction and undoes all changes made to the database since the previous COMMIT or ROLLBACK.
Closes all cursors not opened WITH HOLD.
SQL/2003 Core feature.