Re: SELECT with INNER data bases

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: SELECT with INNER data bases
Дата
Msg-id 20021010124150.GA23840@wolff.to
обсуждение исходный текст
Ответ на SELECT with INNER data bases  (2000 Informática <2000info@netsite.com.br>)
Список 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 по дате отправления:

Предыдущее
От: 2000 Informática
Дата:
Сообщение: SELECT with INNER data bases
Следующее
От: Roberto Mello
Дата:
Сообщение: Re: SELECT with INNER data bases