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

Home -> Community -> Usenet -> c.d.o.misc -> Re: connect to a remote Oracle db using PLSQL procedure

Re: connect to a remote Oracle db using PLSQL procedure

From: Tim Cross <tcross_at_pobox.une.edu.au>
Date: 31 May 2002 16:18:41 +1000
Message-ID: <87adqgvnzy.fsf@blind-bat.une.edu.au>


Stephan Born <stephan.born_at_beusen.de> writes:

> Daniel Morgan wrote:
> >
>
> [...]
>
> >
> > To connect to the remote machine directly you must have it in your
> > TNSNAMES.ORA and then connect to it in the normal manner.
>
> To be precise: the remote-database has to be in the TNSNAMES.ORA of the
> 'locale' database-server!!! In my case we had the constellation that the
> db-clients had another TNSNAMES.ORA than the db-server had itself
> ( for security reason?? ).
> So, I searched a day or two before I found the solution....
>

Yeh, that can be a problem. We have established an Oracle Names Server (ONS), so we are not constrained by the local tnsnames.ora file and I'd forgotten about some of the limitations if you don't have such a setup.

Tim

-- 
Received on Fri May 31 2002 - 01:18:41 CDT

Original text of this message

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