Book Contents

Book Index

Next Topic

Home

ROLLBACK

The ROLLBACK command ends the current transaction and discards all changes that occurred during the transaction.

Syntax

ROLLBACK [ WORK | TRANSACTION ]

Semantics

 

WORK

TRANSACTION

have no effect; they are optional keywords for readability.

SQL Language References

PostgreSQL 8.0.12 Documentation

BNF Grammar for SQL-99