DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Database link

  1. #1
    Join Date
    Nov 2000
    Posts
    62
    Hello,

    select * from global_name; returns MONY

    in init.ora, global names= true

    db_domain is NULL in init.ora.

    under this situation, I created database link using the following syntax.

    create database link MONY
    connect to (username) identified by (password)
    using 'Service name';

    when I try to issue the following test query
    select * from dba_users@database_link_name

    Oracle gave me the
    ora 02085 Database link MONY.world connects to MONY.

    Since the value of db_domain is NULL, I don't think that I need to append '.WORLD' after MY database_link_name. If my db_domain is WORLD, I should put '.WORLD' after the database_link_name.
    what do you think?


  2. #2
    Join Date
    Nov 2000
    Posts
    62

    .WOLRD

    I think the problem is that Oracle append '.WORLD' automatically after the database link name.

    After creating database link
    (Create databse link MONY
    connect to (username) identified by (password)
    using 'service name';)

    I issued the following query.

    select * from user_db_links;
    it returns the name of the database link is

    MONY.WORLD instead of MONY.
    As you see, when I created the database link, I did't append '.WORLD'.
    I guess this is some sort of Oracle default.
    Is there anybody who is accustomed to this matter?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width