Re: comparing nulls - Mailing list pgsql-sql

From Chris Bowlby
Subject Re: comparing nulls
Date
Msg-id 1074607016.49673.23.camel@morpheus.hub.org
Whole thread Raw
In response to comparing nulls  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
Responses Re: comparing nulls
List pgsql-sql
Hi Ken, 
Under 7.3.x this option was removed, you need to test via:
SELECT * from table where field IS NULL;


On Tue, 2004-01-20 at 09:43, Kenneth Gonsalves wrote:
> in postgres7.1 i had a table where an integer field could be null. There was 
> no default value. a select statement like so:
> 'select * from table where field = null' 
> would give all the rows where that field had no value.
> on porting to 7.3.2, this doesnt work. How to do this?
-- 
Chris Bowlby <excalibur@hub.org>
Hub.Org Networking Services



pgsql-sql by date:

Previous
From: Kenneth Gonsalves
Date:
Subject: comparing nulls
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: comparing nulls