Calling a remote function using synonym causes ORA-00904
(Doc ID 311451.1)
Last updated on FEBRUARY 04, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 8.1.5.0 to 9.2.0.7 [Release 8.1.5 to 9.2]Information in this document applies to any platform.
This problem can occur on any platform.
Symptoms
Calling a remote function using local synonym fails with ORA-00904
Eg:-
You have a remote function <FUNCTION-NAME> in user <User2>. At the local
database you created a synonym <FUNCTION-NAME> in user <User1> for the
remote function.
CREATE SYNONYM <Synonym-Name> FOR <FUNCTION-NAME>@<dblink>;
select <Synonym-Name> from dual;
The above statement will fail with error ORA-00904
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |