Oracle Error ORA-02181: invalid option to ROLLBACK WORK

Oracle Error Message

ORA-02181: invalid option to ROLLBACK WORK

Reason for the Error

A token other than TO follows ROLLBACK [WORK].

Solution

Place nothing or TO SAVEPOINT after ROLLBACK [WORK].