Re: behavior of ' = NULL' vs. MySQL vs. Standards

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: behavior of ' = NULL' vs. MySQL vs. Standards
Date: 2001-06-07 15:53:21
Message-ID: web-68600@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Tom,

>Microsoft Access is the guilty party, IIRC. I recently tried to stir
> up
> some interest in changing this behavior back to the standard, but
> apparently there are still too many people using broken versions of
> Access.

Which verison? I work with MSAccess 97 a lot, and the supported syntax
is "IS NULL".

> A compromise answer might be to offer a SET variable that selects the
> Microsoft-compatible misimplementation. Would that fly?

Sounds good to me. By default, I'd like to see "=NULL" turned OFF, as
I've been writing my SQL on the idea that "=NULL" will return NULL, and
if "=NULL" starts returning a value it's going to screw several things
up ...

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2001-06-07 16:05:56 Re: 7.2 items
Previous Message Lamar Owen 2001-06-07 15:40:15 Re: Any time estimates for 7.1.2 RPM's ?

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2001-06-07 16:36:20 Re: dropping constraints
Previous Message David BOURIAUD 2001-06-07 15:52:56 Re: Re: About i8n