Suppose I have schemas A and B.
In schema A I would like to call package X in schema B. However, there exists a package B in schema A.
A:
package B
B:
package X
When I call from schema A:
begin b.x.foo(); end
it looks for procedure X in package B, i.e. A.B.X(), and gets an error.
How can I fully qualify the call to force B to be considered a schema name?
update:
- It does seem there's no way to scope the reference to refer to
b.x.foo. CREATE SYNONYM B_X for B.Xworks.B_X.foo()calls the procedure in schema B.