Use this statement to end a transaction and revert any changes made to data since the last COMMIT or ROLLBACK statement was executed.
ROLLBACK [ WORK ]
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.
The following statement rolls the database back to the state it was in at the previous commit:
ROLLBACK; |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |