totn Oracle Error Messages

Oracle / PLSQL: ORA-00900 Error Message

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

Description

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

  • ORA-00900: invalid SQL statement

Cause

The statement that you've tried to execute is not a valid SQL statement.

Resolution

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

Option #1

This error commonly occurs when you are trying to create an Oracle procedure and the Procedural Option is not installed.

To determine if the Procedural Option has been installed, open an Oracle session using SQL*Plus. If the PL/SQL banner does not display, then you know that the Procedural Option has not been installed.

Below is what a sample PL/SQL banner looks like:

Oracle PLSQL