Database joins
Database joins
От:
"Jay" <jayps@addr.com>
Дата:
Hi,
I have created two databases, db1 and db2 in my POSTGRESQL database system.
And both the databases contains few tables also.
Could you please help me to write a query which should retrieve data from both the databases
(Database joins and table joins)
Expecting and earliest reply
Regards
Jay
Re: Database joins
От:
Stephan Szabo <sszabo@megazone23.bigpanda.com>
Дата:
On Mon, 9 Sep 2002, Jay wrote: > Hi, > I have created two databases, db1 and db2 in my POSTGRESQL database system. > And both the databases contains few tables also. > Could you please help me to write a query which should retrieve data from both the databases > (Database joins and table joins) You cannot currently directly via sql only do cross database joins. You might want to see if contrib/dblink will let you do what you want (iirc it's gotten better in 7.3 with the functions returning result set stuff).