How to resolve ORA-00995 Error Message in Oracle database

Learn the reason and how to resolve the ORA-00995 error message in Oracle.

Description

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

ORA-00995: missing or invalid synonym identifier

Cause

You tried to CREATE or DROP a synonym, but the title of the synonym that you used was either lacking or invalid.

Resolution

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

Option #1

Correct the name of the synonym.

Synonym names must meet the following criteria:

Must start with a letter. Must consist of alphanumeric characters or the following different characters: $, _, and #. Can now not be reserved words. Must be no more than 30 characters in length.