I have 3 databases A
, B
, C
.
I can only access DB A
and really want to avoid creating objects there like views, synonyms, etc.
I can't create objects on B
or C
.
I have a DB link A -> B
and a DB link B -> C
.
User and password are the same for all connections.
The following is not working
SELECT * FROM dual@Link_A_B@Link_B_C;
Is is possible with the correct syntax?
If it is not possible this way, what would be a possible workaround?
I'm not aware of any way of doing this unless you have access to create DB links and synonyms on the objects you want to access on B.
Having said that, I've not tried that either so there may be security concerns with it.
But the theory goes:
A
wants to accessTABLE_1
onC
, viaB
B
toC
B
-C_TABLE_1
forTABLE_1@C
A
toB
C_TABLE_1@B
Alternatively could you create a DB link direct from A to C?