Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Is it possible to do "select count(*) from sapr3.zpayr@QA2;"
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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
Sent: Tuesday, March 02, 2004 3:34 PM
To: oracle-l_at_freelists.org
Subject: RE: Is it possible to do "select count(*) from sapr3.zpayr_at_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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]
Sent: Tuesday, March 02, 2004 4:10 PM
To: oracle-l_at_freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr_at_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_at_dp7uptx.com]
Sent: Tuesday, March 02, 2004 5:07 PM
To: oracle-l_at_freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr_at_QA2;"
How to do it? Is there a document or links? Thanks.
-----Original Message-----
From: Igor Neyman [mailto:ineyman_at_perceptron.com]
Sent: Tuesday, March 02, 2004 4:01 PM
To: oracle-l_at_freelists.org
Subject: RE: Is it possible to do "select count(*) from
sapr3.zpayr_at_QA2;"
You need a database link created between PR2 and QA2.
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Roger Xu
Sent: Tuesday, March 02, 2004 4:56 PM
To: Oracle-L_at_Freelists. Org (E-mail)
Subject: Is it possible to do "select count(*) from sapr3.zpayr_at_QA2;"
>From SID=PR2, I failed to do the following:
SQL> select count(*) from sapr3.zpayr_at_QA2; select count(*) from sapr3.zpayr_at_QA2
*
But I can do the following without any problems:
sqlplus system_at_QA2/manager
SQL> select count(*) from sapr3.zpayr;
Thanks,
Roger
For technical support please email tech_support_at_dp7uptx.com or you can
call (972)721-8257.
This email has been scanned for all viruses by the MessageLabs Email Security System.
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
For technical support please email tech_support_at_dp7uptx.com or you can
call (972)721-8257.
This email has been scanned for all viruses by the MessageLabs Email Security System.