Обсуждение: How to access table from one database to another database

Поиск
Список
Период
Сортировка

How to access table from one database to another database

От
"VivekanandaSwamy R."
Дата:
<div class="Section1"><p class="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew"">Hai all,</span></font><p class="MsoNormal"
style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier
New""> Ihave 2 databases namee PAO and CAS.</span></font><p class="MsoNormal" style="text-autospace:none"><font
face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New""> PAO contains 3 schemas named
Public,pao,stsCAS contains 4 schemas </span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier
New"size="2"><span style="font-size:10.0pt;font-family:"Courier New""> named Public,cao,sts,reports</span></font><p
class="MsoNormal"style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal" style="text-autospace:none"><font
face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New""> Now  i am in PAO database..now i
wantaccess table 'activity' in </span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier New"
size="2"><spanstyle="font-size:10.0pt;font-family:"Courier New""> schema 'cas' in CAS database.</span></font><p
class="MsoNormal"style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> How it is posible.</span></font><p class="MsoNormal"
style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier
New""> </span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> 2nd thing is...</span></font><p class="MsoNormal"
style="text-autospace:none"><fontface="Courier New" size="2"><span style="font-size:10.0pt;font-family:"Courier
New""> </span></font><pclass="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> i have 2 servers access i.e local and mainserver.</span></font><p
class="MsoNormal"style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal" style="text-autospace:none"><font
face="CourierNew" size="2"><span style="font-size:10.0pt;font-family:"Courier New""> How access table from one server
toanother server?</span></font><p class="MsoNormal" style="text-autospace:none"><font face="Courier New" size="2"><span
style="font-size:10.0pt;font-family:"CourierNew""> </span></font><p class="MsoNormal"><font face="Courier New"
size="2"><spanstyle="font-size:10.0pt; 
font-family:"Courier New""> please tel me...because we need this one</span></font><font face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial"></span></font><pclass="MsoNormal"><font face="Arial" size="2"><span
style="font-size:10.0pt;
font-family:Arial"> </span></font><p class="MsoNormal"><span class="stylearial10ptblue"><font face="Times New Roman"
size="2"><spanstyle="font-size:10.0pt">  Thanks & Regards<font color="blue"><span
style="color:blue"></span></font></span></font></span><pclass="MsoNormal"><font color="blue" face="French Script MT"
size="5"><spanstyle="font-size:18.0pt;font-family:"French Script MT";color:blue">Vivekananda.R</span></font><p
class="MsoNormal"><fontcolor="blue" face="French Script MT" size="5"><span style="font-size:18.0pt;font-family:"French
ScriptMT";color:blue">Ph.9986463365</span></font><p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size:
12.0pt"> </span></font></div><table><tr><td bgcolor="#ffffff"><font color="#000000">Information transmitted by this
e-mailis proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the
individualor the entity to which it is addressed, and may contain information that is privileged, confidential or
exemptfrom disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been
forwardedto you without proper authority, you are notified that any use or dissemination of this information in any
manneris strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this email
fromyour records.<br /></font></td></tr></table> 

Re: How to access table from one database to another database

От
"Melvin Davidson"
Дата:
Vivekananda,
 
1. These question is not one for pgadmin. They are best addressed in postgres general forum.
 
2. Postgres does not facilitate inter-database connectivity. However, you can use the dblink
   utility that you will find in postgresql-8.0.3/contrib/dblink.
 
3. Please send any further inquiry regarding these questions to pgsql-general@postgresql.org


From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of VivekanandaSwamy R.
Sent: Wednesday, August 30, 2006 9:41 PM
To: pgsql-sql-owner@postgresql.org; pgadmin-support@postgresql.org
Subject: [pgadmin-support] How to access table from one database to another database

Hai all,

 I have 2 databases namee PAO and CAS.

 PAO contains 3 schemas named Public,pao,sts CAS contains 4 schemas

 named Public,cao,sts,reports

 

 Now  i am in PAO database..now i want access table 'activity' in

 schema 'cas' in CAS database.

 How it is posible.

 

 2nd thing is...

 

 i have 2 servers access i.e local and mainserver.

 

 How access table from one server to another server?

 

 please tel me...because we need this one

 

  Thanks & Regards

Vivekananda.R

Ph.9986463365

 

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this email from your records.