Resolve ORA-00920 Error Message in Oracle

Learn the cause and how to resolve the ORA-00920 error message in Oracle.

Description

When you stumble upon an ORA-00920 error, the following error message will appear:

ORA-00920: invalid relational operator

Cause

You tried to execute a SQL statement, however the WHERE clause contained an invalid relational operator.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Correct the WHERE clause. Valid relational operators are as follows:

= != ^= <> < <= > >= ALL ANY BETWEEN NOT BETWEEN EXISTS NOT EXISTS IN NOT IN IS NULL IS NOT NULL LIKE NOT LIKE