Adsense Ad

Thursday 25 May 2017

Oracle: ORA-00925 Error Message

ORA-00925 Error Message

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

Description

When you encounter an ORA-00925 error, the following error message will appear:
  • ORA-00925: missing INTO keyword

Cause

You tried to execute a INSERT statement and missed the INTO keyword.

Resolution

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

Option #1

Try adding the missing INTO keyword and re-execute the statement.
For example, if you tried to execute the following:
INSERT suppliers
(supplier_id, supplier_name)
VALUES
(1000, 'IBM');
You would receive the following error message:
Oracle PLSQL
You could correct this error with the following statement:
INSERT INTO suppliers
(supplier_id, supplier_name)
VALUES
(1000, 'IBM');

No comments: