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@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: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Michal Zaschke
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).