Resolve ORA-00936 Error Message in Oracle

Learn the motive and how to get to the bottom of the ORA-00936 error message in Oracle.

Description

When you come across an ORA-00936 error, the following error message will appear:

ORA-00936: missing expression

Cause

You tried to execute a SQL assertion however you unnoticed a phase of the syntax.

Resolution

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

Option #1

This error most generally takes place when you attempt to execute a SELECT assertion and overlook to the listing of the columns in the SELECT statement.

For example, you tried to execute the following SELECT statement:

SELECT
FROM suppliers;

You would receive the following error message:

You can right the SELECT statement with the aid of which include columns after the SELECT keyword. For example:

SELECT supplier_id, supplier_name
FROM suppliers;