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: Databaselink question

Re: Databaselink question

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Mon, 25 Aug 2003 17:30:31 -0700
Message-ID: <3F4AAA27.99611630@exxesolutions.com>


abjiang wrote:

> Hi All,
>
> I created database link between two databases using:
>
> CREATE DATABASE LINK foo connect to user identified by pass1 using
> 'DB_Mult';
>
> The "Database link created" messege was shown after executing the
> above line.
>
> However, when I try to run query on the remote database using "select *
> from tableA_at_foo", I got this error messege:
>
> ORA-12154: TNS:could not resolve service name.
>
> How can I fix this probelm? Was it caused by the tnsnames.ora file on
> the remote database?
>
> Thanks in advance for your help!
>
> --
> Posted via http://dbforums.com

Is 'DB_Mult' in the tnsnames.ora of the database in which you created the link?

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
http://www.outreach.washington.edu/extinfo/certprog/aoa/aoa_main.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Mon Aug 25 2003 - 19:30:31 CDT

Original text of this message

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