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: How to create two db-links within one schema when global_names=tr

Re: How to create two db-links within one schema when global_names=tr

From: Yechiel Adar <adar76_at_inter.net.il>
Date: Wed, 08 Jan 2003 03:13:57 -0800
Message-ID: <F001.00529B1D.20030108031357@fatcity.com>


How to create two db-links within one schema when global_names=true?You can create as many dblinks as you want provided that the dblink name is the same as the global name of the database you connect to. In your example:
Create public database link HR connect to HR identified by pwd_hr using whatever;

You can find the global name of the database by: select * from global_name; .

Yechiel Adar
Mehish

  Hi!

  Is there a way to create two db-links within one schema when global_names=true?

  e.g.
  create public database link DB1 connect to hr identified by pwd_hr using 'DB1';   create public database link DB1 (???) connect to shipping identified by   pwd_shipping using 'DB1';

  This is 8.1.7 on Solaris.

  Thanks,
  Helmut

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Yechiel Adar
  INET: adar76_at_inter.net.il

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Wed Jan 08 2003 - 05:13:57 CST

Original text of this message

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