See FAQ item 4.24. See the web site version because it is updated.
---------------------------------------------------------------------------
Leif Jensen wrote:
>
> Hi All,
>
> I need to get information from 2 (or more) database preferably in one
> select statement. Is there a way to join tables from different databases
> in the same SQL ? Can I have a 'virtual' foreign key ? Can I make a view
> 'cross database' ? Can I make some server side programming to accomplish
> this task ? Where do I find documentation if any ?
>
> Thanks for any ideas,
>
> Leif
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073