Resolve ORA-00946 Error Message in Oracle

Learn the motive and how to resolve the ORA-00946 error message in Oracle.

Description

When you come across an ORA-00946 error, the following error message will appear:

ORA-00946: missing TO keyword

Cause

You tried to execute a GRANT command and ignored the TO keyword.

Resolution

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

Option #1

Try adding the lacking TO key-word and re-execute the command.

View greater data on granting and revoking privileges.