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: Problem with database link

Re: Problem with database link

From: Michal Zaschke <zaschke_at_suas.cz>
Date: Thu, 12 Apr 2001 03:04:39 -0700
Message-ID: <F001.002E7D52.20010412020024@fatcity.com>

AFAIK, parameter DB_DOMAIN is what appends to the database link name (which must be DB_NAME of your remote database).

SQLWKS> show parameter db_domain

NAME                           TYPE    VALUE
------------------------------ ------- ------------------------------
db_domain                      string  WORLD                         



Helmut Daiminger wrote:
>
> Hi there!
>
> I'm having a problem with database links here.
>
> I am on my SPEEDY database and want to create a link that points to another
> database called SAM.
>
> create database link SAM connect to user identified by pasword using 'SAM';
>
> Then I try and issue that statement:
>
> select view_name from user_views_at_SAM
> *
> ERROR at line 2:
> ORA-02085: database link SAM.VIVONET.COM connects to SAM
>
> Where does our domain name appendix (vivonet.com) come from???? I looked in
> all the possible config files (e.g. sqlnet.ora etc.) and couldn't find
> anything. In both databases the init.ora parameter is set to global_names =
> true.
>
> Any idea?
>
> This is 8.1.6 on Win2k.
>
> Thanks,
> Helmut
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Helmut Daiminger
> INET: hdaiminger_at_vivonet.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
 Ing. Michal Zaschke           
   DB Administrator             
Sokolovska uhelna, a.s.
phone: +420-168-645417
e-mail: zaschke_at_suas.cz
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Michal Zaschke
  INET: zaschke_at_suas.cz

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Apr 12 2001 - 05:04:39 CDT

Original text of this message

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