Good Morning!!
I would like to know how I can hold a join between 2 tables, on different B. servers.
grateful by the precious information and attention,
Carlos
carlosergio631@yahoo.com.br
Join between 2 tables on different servers
-
- Rank: Estagiário Sênior
- Posts: 13
- Joined: Tue, 27 Dec 2005 10:16 am
- Location: SÃO PAULO
- dr_gori
- Moderador
- Posts: 5026
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
It's simple!
You create a dblink between the two banks more or less like this:
Dai You do the SELECT that way:
Remembering that to create public dblinks you have to be allowed and this is not very safe ...
Another important thing is that the TNS_NAMES.ORA of your server should contain the Information from the other server you want to access.
: -O
You create a dblink between the two banks more or less like this:
create public database link BANCO1
connect to USUARIO
using 'SENHA';
select a.table_name
from user_tables@banco1 a
, user_tables b
where a.table_name = b.table_name
Another important thing is that the TNS_NAMES.ORA of your server should contain the Information from the other server you want to access.
: -O
-
- Rank: Estagiário Sênior
- Posts: 13
- Joined: Tue, 27 Dec 2005 10:16 am
- Location: SÃO PAULO
Thank you so much ! I learned one more !!
Valeu !!
Valeu !!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests