totn Oracle Error Messages

Oracle / PLSQL: ORA-00920 Error Message

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

Description

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

  • ORA-00920: invalid relational operator

Cause

You tried to execute a SQL statement, but 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