Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


In response to

pgsql-general by date

Next:From: Tom LaneDate: 2001-10-26 16:34:15
Subject: Re: null != null ???
Previous:From: Paul TomblinDate: 2001-10-26 16:22:15
Subject: Re: DBD::Pg

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group