Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: join between two tables of 2 differents databases mounted on 2 differents servers

Re: join between two tables of 2 differents databases mounted on 2 differents servers

From: Laurent RUHLMANN <lruhlmann_at_ingesoft.fr>
Date: Wed, 28 Jan 2004 17:13:25 +0100
Message-ID: <bv8n3j$ept$1@s1.read.news.oleane.net>


Ok it works now.

The domain of the remote server was of course not the same, so I had to indicate it when I created my dblink :
create public database link db2.domain2 connect to user2 identified by pass2 using 'db2'
If I forget the domain Oracle will suppose that it's the local domain and will create the database link db2.domain1 !!!

Test :

connect user1/pass1_at_db1;
select * from tab2_at_db2.domain2;

Bye,

Laurent

"Laurent RUHLMANN" <lruhlmann_at_ingesoft.fr> a écrit dans le message news: bv8gbj$af3$1_at_s1.read.news.oleane.net...
> Hi,
>
> I would like to to create a join select statement between 2 tables each
one
> being on different databases and different servers. I have created a link
> between the two databases but the remote table is not recognised when I do
> the select statement.
>
> Any idea ?
>
> Thanks,
>
> Laurent
>
>
Received on Wed Jan 28 2004 - 10:13:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US