GNU/Linux |
CentOS 2.1AS(Slurm) |
|
![]() |
rollback(l) |
![]() |
ROLLBACK − Aborts the current transaction
ROLLBACK [ WORK | TRANSACTION ]
INPUTS
None.
OUTPUTS
ABORT |
Message returned if successful. |
NOTICE: ROLLBACK: no transaction in progress
If there is not any transaction currently in progress.
ROLLBACK rolls back the current transaction and causes all the updates made by the transaction to be discarded.
NOTES
Use COMMIT [commit(l)] to successfully terminate a
transaction. ABORT [abort(l)] is a synonym for
ROLLBACK.
To abort all changes:
ROLLBACK WORK;
SQL92
SQL92 only specifies the two forms ROLLBACK and ROLLBACK
WORK. Otherwise full compatibility.
![]() |
rollback(l) | ![]() |