NexusDB Manual V3 > SQL Reference > SQL Statements > Transaction Statements
Cancel a transaction.
Syntax
<rollback statement> ::= ROLLBACK [ WORK ]
Usage
The ROLLBACK statement terminates the active transaction and cancels all changes made during the transaction.
Notes
Examples
ROLLBACK;
START TRANSACTION; TRY // Execute some data-change statements here. COMMIT; CATCH POSITION( 'Unable to open table' IN ERROR_MESSAGE ) <> 0 ROLLBACK; SIGNAL ERROR_MESSAGE; END;
Conformance
|
© Nexus Database Systems Pty Ltd.