Re: compare 2 tables in sql

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: compare 2 tables in sql
Date: 2008-03-20 20:04:01
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C0378F142@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Jonah,

> Still, you should UNION the result of
> both exceptions into a single result set.

Great suggestion. Many thanks.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

-----Original Message-----
From: Jonah H. Harris [mailto:jonah(dot)harris(at)gmail(dot)com]
Sent: Thu 3/20/2008 12:21 PM
To: Tena Sakai
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] compare 2 tables in sql

On Thu, Mar 20, 2008 at 1:44 PM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:
> Just a postscript. It is important to check
> both ways. Because (sometimes) vice versa is
> not necessarily true. Case in point below:

Yes, I'm well aware of that. Still, you should UNION the result of
both exceptions into a single result set.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 | http://www.enterprisedb.com/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2008-03-20 22:28:18 Dynamic sql and variable record types
Previous Message Jonah H. Harris 2008-03-20 19:21:32 Re: compare 2 tables in sql