Oracle Solution for Error ora-02178

Solution for Oracle Error ORA-02178

ORA-02178: correct syntax is: SET TRANSACTION READ { ONLY | WRITE }

What triggered the Error:

There is a syntax error in the user's statement.

What should we do to fix it:

Correct the syntax as indicated.