Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL statements

 

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;