ORA-01432 Error Message
Learn the cause and how to resolve the ORA-01432 error message in Oracle.
Description
When you encounter an ORA-01432 error, the following error message will appear:
- ORA-01432: public synonym to be dropped does not exist
Cause
You tried to drop a public synonym that does not exist.
Resolution
The option(s) to resolve this Oracle error are:
Option #1
Check to make sure that you specified the public synonym name correctly.
Option #2
Your synonym may be a private synonym, not a public synonym.
You can find a listing of all public synonyms with the following SQL statement:
SELECT * FROM all_synonyms WHERE owner = 'PUBLIC';
To find out if your synonym was created as a private synonym, run the following SQL statement:
SELECT * FROM all_synonyms WHERE owner <> 'PUBLIC' AND synonym_name = 'SYNONYM_NAME';
where SYNONYM_NAME is the name of the synonym that you are searching for.
If your synonym was created as a private synonym, you can drop it with the following command:
DROP SYNONYM synonym_name;
where synonym_name is the name of the private synonym that you wish to drop.
No comments:
Post a Comment