Re: SELECT with INNER data bases - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: SELECT with INNER data bases
Date
Msg-id 20021010124150.GA23840@wolff.to
Whole thread Raw
In response to SELECT with INNER data bases  (2000 Informática <2000info@netsite.com.br>)
List pgsql-sql
On Thu, Oct 10, 2002 at 09:37:49 -0300, 2000 Informática <2000info@netsite.com.br> wrote:
> Hi,
> 
> I have two data bases: db1 and db2.
> In MS SQL Server I can use 
> 'SELECT T1.ID, T2.NAME FROM db1..table1 T1 INNER JOIN db2..table2 T2
> ON T1.ID = T2.ID ...'.
> 
> How I do it in the PosgreSQL ?

Postgres does not allow for queries to reference more than one database.
In 7.3 (currently in beta), you may be able to use schemas to keep your
data in the same database and use queries referencing tables in different
schemas. Whether or not this will work for you depends on why you have
put the data into different databases.


pgsql-sql by date:

Previous
From: 2000 Informática
Date:
Subject: SELECT with INNER data bases
Next
From: Roberto Mello
Date:
Subject: Re: SELECT with INNER data bases