Resolve ORA-00925 Error Message in Oracle

Learn the reason and how to unravel the ORA-00925 error message in Oracle.

Description

When you come upon an ORA-00925 error, the following error message will appear:

ORA-00925: missing INTO keyword

Cause

You tried to execute a INSERT declaration and neglected the INTO keyword.

Resolution

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

Option #1

Try adding the lacking 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:

You ought to right this error with the following statement:

INSERT INTO suppliers
(supplier_id, supplier_name)
VALUES
(1000, 'IBM');