Re: comparing nulls - Mailing list pgsql-sql

From Christopher Browne
Subject Re: comparing nulls
Date
Msg-id m3oesybo4k.fsf@wolfe.cbbrowne.com
Whole thread Raw
In response to comparing nulls  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
List pgsql-sql
Centuries ago, Nostradamus foresaw when lawgon@thenilgiris.com (Kenneth Gonsalves) would write:
> On Tuesday 20 January 2004 19:26, Chris Bowlby wrote:
>>  Under 7.3.x this option was removed, you need to test via:
>>
>>  SELECT * from table where field IS NULL;
> thanx - works in both 7.1 and 7.3 - why do these guys keep fooling around 
> with these thangs?

Because there is a desire to have PostgreSQL conform with public
standards such as SQL-1999.  

The use of "IS NULL" conforms with SQL standards; the use of "= NULL"
does not.
-- 
If this was helpful, <http://svcs.affero.net/rm.php?r=cbbrowne> rate me
http://www3.sympatico.ca/cbbrowne/advocacy.html
"Let's face it  -- ASCII text is  a far richer medium  than most of us
deserve."  -- Scott McNealy


pgsql-sql by date:

Previous
From: Joe Conway
Date:
Subject: Re: Fetching a single column from a record returning function
Next
From: "Kumar"
Date:
Subject: Re: Fetching a single column from a record returning function