pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith H.K. Lam (U1 Tech.) <keithhk_lam@u1technology.com>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: select query that would join two databases
Date: Wed, 30 Jul 2003 19:28:04 +0800
Message-ID: <E1710B82E845F2439B63043F1699E82877C29F@mailserver.tainam.com> (raw)

dear all,

How to create a query that would join two databases? In MSSQL, i use

select * from dbA.dbo.tableA a dbB.dbo.tableB b where a.id=b.id

Is there anyway to write the above query in postgressql ?

Please email me back.
Thanks,
Keith



view thread (2+ messages)  latest in thread

Message-ID: <E1710B82E845F2439B63043F1699E82877C29F@mailserver.tainam.com>
Permalink:  ../E1710B82E845F2439B63043F1699E82877C29F@mailserver.tainam.com/
Also on:    postgresql.org/message-id/E1710B82E845F2439B63043F1699E82877C29F@mailserver.tainam.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: keithhk_lam@u1technology.com
  Subject: Re: select query that would join two databases
  In-Reply-To: <E1710B82E845F2439B63043F1699E82877C29F@mailserver.tainam.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