doc-exports/docs/dws/dev/dws_06_0256.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

3.5 KiB

ABORT

Function

ABORT rolls back the current transaction and cancels the changes in the transaction.

This command is equivalent to ROLLBACK, and is present only for historical reasons. Now ROLLBACK is recommended.

Precautions

ABORT has no impact outside a transaction, but will provoke a warning.

Syntax

1
ABORT [ WORK | TRANSACTION ] ;

Parameter Description

WORK | TRANSACTION

Optional keyword has no effect except increasing readability.

Examples

Abort a transaction. Performed update operations will be undone.

1
ABORT;