Re: null != null ???

From: Fran Fabrizio <ffabrizio(at)mmrd(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: null != null ???
Date: 2001-10-26 16:24:51
Message-ID: 3BD98E53.FAF01D3C@mmrd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Fran Fabrizio <ffabrizio(at)mmrd(dot)com> writes:
> > Can someone smarter than me tell me what I am missing?
>
> Comparisons involving NULL yield NULL. Any book on SQL should
> explain this ...

...except 'select null=null' doesn't follow this rule (it yields 'true')
so one
can understand my confusion. Thanks to Thomas for the explanation
and history of this interesting quirk.

-Fran

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-10-26 16:34:15 Re: null != null ???
Previous Message Paul Tomblin 2001-10-26 16:22:15 Re: DBD::Pg