ORA-00908: missing NULL keyword

Difficulty level not set for this Post

Oracle/PLSQL: ORA-00908

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

Description

When you encounter this error, the following error message will appear:

  • ORA-00908: missing NULL keyword

Cause

You tried to execute a SQL statement, but you missed entering the NULL keyword.

Resolution

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

Option #1

This error can occur if you try to execute a SQL statement using the IS NULL condition or IS NOT NULL condition, but miss entering the NULL keyword.

For example, if you tried executing the following statement:

select * from LGK_H1 where str84 is not;

You would receive the following error message:

ORA-00908: missing NULL keyword

You could correct this error, by modifying the statement as follows:

select * from LGK_H1 where str84 is not NULL;

Leave a Reply

Your email address will not be published. Required fields are marked *