same synonym is not working in procedure
544866Oct 5 2007 — edited Oct 5 2007A select query which is extracting data from a remote database,is giving me the data. But when I am creating a procedure and using the same select query into a cursor and compiling it it is giving the error that PL/SQL: ORA-00980: synonym translation is no longer valid.
I already checked the synonym and if the synonym is not valid then why this query is giving result outside the procedure.
Please give me the solution or hint to find out the solution.
Regards,
Ritesh Sharma