ROLLBACK

4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next

version 11


ROLLBACK [TRANSACTION]

Description

The ROLLBACK command cancels the transaction underway and restores the data to its previous state at the beginning of the transaction. It also frees up any resources held by the transaction. The TRANSACTION keyword is optional.

Example

This example illustrates the use of the ROLLBACK command:

   START TRANSACTION
   SELECT * FROM suppliers
   WHERE supplier_name like '%bob%';
   ROLLBACK TRANSACTION;

See Also

COMMIT.


4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next