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: Communication between 2 databases

Re: Communication between 2 databases

From: Connor McDonald <mcdonald.connor.cs_at_bhp.com.au>
Date: Thu, 18 Mar 1999 16:08:59 +0800
Message-ID: <36F0B49B.200C@bhp.com.au>


sanshah_at_my-dejanews.com wrote:
>
> I have two different databases A and B residing on the same server. There is a
> procedure in database A that references a table present on database B.
>
> 1. How should my procedure be modified so that the procedure can identify the
> table present on the other database.
>
> 2. Do I modify anything in the configuration settings (tnsnames, etc ) to
> allow the two databases to talk to each other
>
> 3. Also if in the future the 2 databases were to reside on 2 different servers
> what needs to be done to achieve the above stated results.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

You need a database link:

create database link xxx
connect to abc
identified by def
using 'xyz';

But there is a fair bit more to this...

Check the "Distributed Systems Vol 1" in the Oracle doco

Cheers
--



Connor McDonald
BHP Information Technology
Perth, Western Australia
"Never wrestle a pig - you both get dirty and the pig likes it..." Received on Thu Mar 18 1999 - 02:08:59 CST

Original text of this message

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