ROLLBACK statement
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The ROLLBACK statement undoes all the changes
made to the database within a transaction. The ROLLBACK statement
uses the following syntax:
|
The following example shows how to use the ROLLBACK statement:
|
Note: The
ROLLBACK statement does
not affect the contents of any host variables or the flow of control
in the program. The database issues a ROLLBACK operation
automatically when there is an abnormal termination of the application
program.For more on the ROLLBACK statement, see
OpenEdge SQL Reference.