Re: '= NULL' is not the same as 'IS NULL' - Mailing list pgsql-odbc

From Richard Broersma Jr
Subject Re: '= NULL' is not the same as 'IS NULL'
Date
Msg-id 20060906205632.30759.qmail@web31803.mail.mud.yahoo.com
Whole thread Raw
In response to Re: '= NULL' is not the same as 'IS NULL'  (Mark Morgan Lloyd <markMLl.pgsql-odbc@telemetry.co.uk>)
List pgsql-odbc
> I'm afraid so, in Joe Celko's "SQL for Smarties" book, after which I simply
> accepted that that was the way SQL worked.

Yes for what I recall from my reading that he mentions that there are specific reasons to allow
nulls.  During Table design, if one cannot see how these specific rules apply to the data to of a
column, then the column should be constrained as NOT NULL, with a DEFAULT value as '{left blank}'
or 0 or some other value that would produce this effect.

But I am sure that this is just one particular philosophy of table design.

Regards,

Richard Broersma Jr.

pgsql-odbc by date:

Previous
From: Mark Morgan Lloyd
Date:
Subject: Re: '= NULL' is not the same as 'IS NULL'
Next
From: greg.campbell@us.michelin.com
Date:
Subject: Re: '= NULL' is not the same as 'IS NULL'