Introduction

 

The SQL ROLLBACK statement is used to rollback an active transaction on the current database.

 

Syntax

ROLLBACK [WORK]

Use the ROLLBACK statement to rollback an active transaction. You may optionally include the WORK keyword for compatibility with the SQL standard.