pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gavin M. Roy <gmr@readysetnet.com>
To: pgsql list <pgsql-admin@postgresql.org>
Subject: Cross DB Queries
Date: Mon, 30 Oct 2000 11:17:03 -0800
Message-ID: <39FDC92F.3F68DFFB@readysetnet.com> (raw)

Is there slated, or does the ability already exist to query multiple
db's through the same sql statement?

SELECT db1.table1.*, db2.table2.* FROM db1.table1, db2.table2 WHERE
db1.table1.id = db2.table2.id;

TIA,

Gavin




Message-ID: <39FDC92F.3F68DFFB@readysetnet.com>
Permalink:  ../39FDC92F.3F68DFFB@readysetnet.com/
Also on:    postgresql.org/message-id/39FDC92F.3F68DFFB@readysetnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gmr@readysetnet.com
  Subject: Re: Cross DB Queries
  In-Reply-To: <39FDC92F.3F68DFFB@readysetnet.com>
  References: <39FDC92F.3F68DFFB@readysetnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox