Learn the cause and how to resolve the ORA-00900 error message in Oracle.
When you encounter an ORA-00900 error, the following error message will appear:
- ORA-00900: invalid SQL statement
Cause of Error
The statement that you've tried to execute is not a valid SQL statement.
How to Resolve the Error
The option(s) to resolve this Oracle error are:
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: