ABORT

Give up the current transaction.

Summary

ABORT [WORK | TRANSACTION]

describe

ABORT rolls back the current transaction and causes all update operations triggered by this transaction to be discarded. This command is the same as the SQL standard command ROLLBACK, which occurs for historical reasons.

Parameters

WORK

TRANSACTION

  • Optional keywords, no effect on ABORT operation

Note

Use COMMIT to successfully terminate a transaction.

Sending an ABORT command outside of a transaction will have no effect, but will generate a warning message.

compatibility

For historical reasons, this is an extension command for the YMatrix database, equivalent to the standard SQL command ROLLBACK.

See also

BEGIN , COMMIT , ROLLBACK