YMatrix
Quick Start
Connecting
Benchmarks
Deployment
Data Usage
Manage Clusters
Upgrade
Global Maintenance
Expansion
Monitoring
Security
Best Practice
Technical Principles
Data Type
Storage Engine
Execution Engine
Streaming Engine(Domino)
MARS3 Index
Extension
Advanced Features
Advanced Query
Federal Query
Grafana
Backup and Restore
Disaster Recovery
Guide
Performance Tuning
Troubleshooting
Tools
Configuration Parameters
SQL Reference
Abort the current transaction.
ROLLBACK [WORK | TRANSACTION]
ROLLBACK rolls back the current transaction and causes all updates made by the transaction to be discarded.
WORK
TRANSACTION
Use COMMIT to successfully submit the current transaction.
If not inside the transaction, issuing ROLLBACK will not cause any harm, but will trigger a warning message.
To discard all changes in the current transaction:
ROLLBACK;
The SQL standard specifies only two forms ROLLBACK and ROLLBACK WORK. Otherwise, this command fully meets the requirements.