UltraLite ROLLBACK statement

Use this statement to end a transaction and revert any changes made to data since the last COMMIT or ROLLBACK statement was executed.

Syntax
ROLLBACK [ WORK ]
Remarks

Using UltraLite SQL creates a transaction. A transaction consists of all changes (INSERTs, UPDATEs, and DELETEs) since the last ROLLBACK or COMMIT. The ROLLBACK statement ends the current transaction and undoes all changes made to the database since the previous COMMIT or ROLLBACK.

See also
Example

The following statement rolls the database back to the state it was in at the previous commit:

ROLLBACK;