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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Query on database link

Re: Query on database link

From: Chuck Hamilton <chuck_hamilton_at_yahoo.com>
Date: Mon, 9 Oct 2000 06:14:52 -0700 (PDT)
Message-Id: <10644.118782@fatcity.com>


--0-1927150952-971097292=:59999
Content-Type: text/plain; charset=us-ascii  

You must have global_names turned on. That requires the db link name to match the database name that you're connecting to. Either turn off global_names, or modify the link name and global name of the remote database to be the same.   magesh <magesh_at_garoo.ne.jp> wrote:

Dear All    

 I created a database link between 2 database . When i am try to access the table "emp" of scott scheme from the second database , getting an error like this ...  

sql> select * from emp_at_orcl.kaiji1;  

Error at line 1:
 ora-02085 :database links orcl.kaiji1 connects to orcl.world.  

Why itz trying to connect to "orcl.world" instead of "orcl.kaiji1", How to resolve this problem ?  

Details of 2 databases :-  

first database(Source) ------------------------------------Second database(destination)
db_name : ora8------------------------------------------------orcl
global_name:true----------------------------------------------true
db_domain:none-----------------------------------------------kaiji1
Received on Mon Oct 09 2000 - 08:14:52 CDT

Original text of this message

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