Hi all,
I have written a PL/SQL which will first check the names of the synonyms created in my schema,which have the same name as that of the tables in an another schema and drop them using a "EXECUTE IMMEDIATE" DDL statement.
If I do it explicitly,it does not show any errors and does the job.
Using it in a PL/SQL shows the following error:
ERROR: ORA-00995: missing or invalid synonym identifier--995
I have written a PL/SQL which will first check the names of the synonyms created in my schema,which have the same name as that of the tables in an another schema and drop them using a "EXECUTE IMMEDIATE" DDL statement.
If I do it explicitly,it does not show any errors and does the job.
Using it in a PL/SQL shows the following error:
ERROR: ORA-00995: missing or invalid synonym identifier--995