ORA-00908 Error Message
Learn the cause and how to resolve the ORA-00908 error message in Oracle.
Description
When you encounter an ORA-00908 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 suppliers WHERE supplier_name IS NOT;
You would receive the following error message:
You could correct this error, by modifying the statement as follows:
SELECT * FROM suppliers WHERE supplier_name IS NOT NULL;
No comments:
Post a Comment