From oracle-l-bounce@freelists.org  Wed Mar  3 11:00:18 2004
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air189.startdedicated.com (root@localhost)
 by orafaq.com (8.11.6/8.11.6) with ESMTP id i23H0IL23433
 for <oracle-l@orafaq.com>; Wed, 3 Mar 2004 11:00:18 -0600
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i23Gxqo23063
 for <oracle-l@orafaq.com>; Wed, 3 Mar 2004 10:59:54 -0600
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP
 id 1D36939563F; Wed,  3 Mar 2004 11:56:53 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 03 Mar 2004 11:55:34 -0500 (EST)
X-Original-To: oracle-l@freelists.org
Delivered-To: oracle-l@freelists.org
Received: from ahmler1.mail.eds.com (ahmler1.mail.eds.com [192.85.154.71])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6DC7B39516E
 for <oracle-l@freelists.org>; Wed,  3 Mar 2004 11:55:25 -0500 (EST)
Received: from ahmlir1.mail.eds.com (ahmlir1-2.mail.eds.com [192.85.154.131])
 by ahmler1.mail.eds.com (8.12.10/8.12.9) with ESMTP id i23GxFY3017702
 for <oracle-l@freelists.org>; Wed, 3 Mar 2004 11:59:15 -0500
Received: from ahmlir1.mail.eds.com (localhost [127.0.0.1])
 by ahmlir1.mail.eds.com (8.12.10/8.12.10) with ESMTP id i23GwYEx011077
 for <oracle-l@freelists.org>; Wed, 3 Mar 2004 11:58:34 -0500
Received: from USAHM101.amer.corp.eds.com ([207.37.138.189])
 by ahmlir1.mail.eds.com (8.12.10/8.12.10) with ESMTP id i23GwYaw011072
 for <oracle-l@freelists.org>; Wed, 3 Mar 2004 11:58:34 -0500
Received: by USAHM101.amer.corp.eds.com with Internet Mail Service (5.5.2657.72)
 id <F6NMDRS3>; Wed, 3 Mar 2004 11:58:20 -0500
Message-ID: <564DE4477544D411AD2C00508BDF0B6A1CE0AA24@USAHM018.amer.corp.eds.com>
From: "Powell, Mark D" <mark.powell@eds.com>
To: "'oracle-l@freelists.org'" <oracle-l@freelists.org>
Subject: RE: Is it possible to do "select count(*) from sapr3.zpayr@QA2;"
Date: Wed, 3 Mar 2004 11:58:16 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain; charset="iso-8859-1"
X-archive-position: 192
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: mark.powell@eds.com
Precedence: normal
Reply-To: oracle-l@freelists.org
X-list: oracle-l

See the Oracle version# Reference Manual

@UT1 SQL>> desc dba_db_links
 Name                                      Null?    Type
 ----------------------------------------- --------
----------------------------
 OWNER                                     NOT NULL VARCHAR2(30)
 DB_LINK                                   NOT NULL VARCHAR2(128)
 USERNAME                                           VARCHAR2(30)
 HOST                                               VARCHAR2(2000)
 CREATED                                   NOT NULL DATE

-- Mark --


-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org]On Behalf Of Roger Xu
Sent: Wednesday, March 03, 2004 11:34 AM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr@QA2;"


Thank you for the advice.
So how do I find out all the database links?
Is there a V$ view or dba_ view?

-----Original Message-----
From: Mark Richard [mailto:mrichard@transurban.com.au]
Sent: Tuesday, March 02, 2004 8:42 PM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr@QA2;"






I would just keep in mind the security implications of this.  You are
effectively allowing full control to the remote database to anyone
connected to the primary database since the password is remembered.  Having
said that if the username/password combination is "system/manager" then
this additional security risk may not be such a problem.

>From a performance / resource point of view there is no problem though and
I do keep database links between several development / testing environments
for moving data around quickly.  I wouldn't keep one with full access to
production though.

Regards,
      Mark.



 

                      "Justin Cave

                      (DDBC)"                   To:
<oracle-l@freelists.org>                                                   
                      <jcave@ddbcinc.com        cc:

                      >                         Subject:  RE: Is it possible
to do "select count(*) from sapr3.zpayr@QA2;"           
                      Sent by:

                      oracle-l-bounce@fr

                      eelists.org

 

 

                      03/03/2004 09:42

                      Please respond to

                      oracle-l

 

 





I would generally keep the database link around if you think you may want
to use it again in the future.  It's not going to consume an appreciable
amount of resources if no one is using it.

Justin Cave
Distributed Database Consulting, Inc.
http://www.ddbcinc.com

-----Original Message-----
From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]
Sent: Tuesday, March 02, 2004 3:34 PM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from sapr3.zpayr@QA2;"

Cool. It works.
So do I need to do "delete database link qa2" to clean up?
Thanks.
--Roger

-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org]
Sent: Tuesday, March 02, 2004 4:10 PM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr@QA2;"


While connected to pr2:
create database link qa2 connect to system identified by manager using
'qa2';

That's one option.  There are other variations on database links.  See the
manual for more details.

-Mark

-----Original Message-----
From: Roger Xu [mailto:roger_xu@dp7uptx.com]
Sent: Tuesday, March 02, 2004 5:07 PM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr@QA2;"


How to do it? Is there a document or links? Thanks.

-----Original Message-----
From: Igor Neyman [mailto:ineyman@perceptron.com]
Sent: Tuesday, March 02, 2004 4:01 PM
To: oracle-l@freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr@QA2;"


You need a database link created between PR2 and QA2.

Igor Neyman, OCP DBA
ineyman@perceptron.com



-----Original Message-----
From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Roger Xu
Sent: Tuesday, March 02, 2004 4:56 PM
To: Oracle-L@Freelists. Org (E-mail)
Subject: Is it possible to do "select count(*) from sapr3.zpayr@QA2;"

>From SID=PR2, I failed to do the following:

SQL> select count(*) from sapr3.zpayr@QA2;
select count(*) from sapr3.zpayr@QA2
                                 *
ERROR at line 1:
ORA-02019: connection description for remote database not found




But I can do the following without any problems:

sqlplus system@QA2/manager
SQL> select count(*) from sapr3.zpayr;





Thanks,

Roger

************************************************************************
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information.
Any review, dissemination, copying, printing or other use of this e-mail
by persons or entities other than the addressee is prohibited. If you
have received this e-mail in error, please contact the sender
immediately and delete the material.
************************************************************************
This email has been scanned for all viruses by the MessageLabs Email
Security System. Any questions please call 972-721-8257 or email your
request to tech_support@dp7uptx.com.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

For technical support please email tech_support@dp7uptx.com or you can
call (972)721-8257.
This email has been scanned for all viruses by the MessageLabs Email
Security System.

************************************************************************
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing or other use of this e-mail by
persons or entities other than the addressee is prohibited. If you have
received this e-mail in error, please contact the sender immediately and
delete the material.
************************************************************************
This email has been scanned for all viruses by the MessageLabs Email
Security System. Any questions please call 972-721-8257 or email your
request to tech_support@dp7uptx.com.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

For technical support please email tech_support@dp7uptx.com or you can
call (972)721-8257.
This email has been scanned for all viruses by the MessageLabs Email
Security System.

************************************************************************
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing or other use of this e-mail by
persons or entities other than the addressee is prohibited. If you have
received this e-mail in error, please contact the sender immediately and
delete the material.
************************************************************************
This email has been scanned for all viruses by the MessageLabs Email
Security System. Any questions please call 972-721-8257 or email your
request to tech_support@dp7uptx.com.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------





<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Privileged/Confidential information may be contained in this message.
If you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.
In such a case, you should destroy this message and kindly notify the sender
by reply e-mail or by telephone on (03) 9612-6999 or (61) 3 9612-6999.
Please advise immediately if you or your employer does not consent to
Internet e-mail for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of Transurban Infrastructure Developments
Limited and CityLink Melbourne Limited shall be understood as neither given
nor endorsed by them.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

For technical support please email tech_support@dp7uptx.com or you can
call (972)721-8257. 
This email has been scanned for all viruses by the MessageLabs Email
Security System.

************************************************************************
This e-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing or other use of this e-mail by
persons or entities other than the addressee is prohibited. If you have
received this e-mail in error, please contact the sender immediately and
delete the material. 
************************************************************************
This email has been scanned for all viruses by the MessageLabs Email
Security System. Any questions please call 972-721-8257 or email your
request to tech_support@dp7uptx.com.
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

