How to use table from one database to another

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

How to use table from one database to another

От:
"Penchalaiah P." <penchalaiahp@infics.com>
Дата:

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

 

Please give me full details with examples… because I am new to Postgres but I know oracle very well

 

 

Thanks  &  Regards

Penchal reddy | Software Engineer           

Infinite Computer Solutions | Exciting Times…Infinite Possibilities...

SEI-CMMI level 5 | ISO 9001:2000

IT SERVICES | BPO                                                                                                                                                                          

Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities | Retail & Distribution | Government                                                       

Tel +91-80-5193-0000(Ext:503)| Fax  +91-80-51930009 | Cell No  +91-9980012376|www.infics.com          

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 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 mail from your records.

 

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.

Re: How to use table from one database to another

От:
Richard Broersma Jr <rabroersma@yahoo.com>
Дата:
>  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
> Please give me full details with examples... because I am new to
> Postgres but I know oracle very well

For this functionality to work you will need the db-link add on for postgresql.
http://pgfoundry.org/projects/snapshot/

Also for other useful addons check out the project tree.
http://pgfoundry.org/softwaremap/trove_list.php

Regards,

Richard Broersma Jr.

FAQ