query on two databases ..

Поиск
Список
Период
Сортировка
От Muhammed Yazici
Тема query on two databases ..
Дата
Msg-id 9f2765$1f9j$1@news.tht.net
обсуждение исходный текст
Ответы Re: query on two databases ..  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
hi,
i'am really new to postgresql and i try it with php ..

Now i have following question :

is it possible to make one query on two databases. I have a database calles
db1 and one db2 and i want to get :


select * from ":db1:table1"  where ":db1:table1:col1" in (select "col1" from
":db2:table1" );

(this query will work in interbase dbs)

how is the right syntax in postgresql ??

can anybody help my .. i looked in diffent manuals but i couldnt find the
syntax ..

thanks a lot for your help in forward ..

m. Yazici
yazici@chss.net




В списке pgsql-sql по дате отправления:

Предыдущее
От: Sharmad Naik
Дата:
Сообщение: php-nuke
Следующее
От: ANDREW PERRIN
Дата:
Сообщение: Re: Case Insensitive Queries