Re: Differentiate Between Zero-Length String and NULLColumn Values - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: Differentiate Between Zero-Length String and NULLColumn Values
Date
Msg-id 20070130142332.GA31905@phlogiston.dyndns.org
Whole thread Raw
In response to Re: Differentiate Between Zero-Length String and NULLColumn Values  ("Bart Degryse" <Bart.Degryse@indicator.be>)
Responses Re: Differentiate Between Zero-Length String and NULLColumn Values  (Herouth Maoz <herouth@tippcom.co.il>)
Re: Differentiate Between Zero-Length String and NULLColumn Values  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Re: Differentiate Between Zero-Length String and NULLColumn Values  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-sql
On Tue, Jan 30, 2007 at 02:38:07PM +0100, Bart Degryse wrote:

> Andrew, I think you're wrong stating that Oracle would interpret
> NULL and empty string as equal. The Oracle databases I use (8, 9
> and 10) certainly make a distiction between both values. Maybe
> earlier versions did so, that I don't know.

Hmm.  Well, I'm not an Oracle guy, so I don't really know.  All I
know is that we occasionally get people coming from Oracle who are
surprised by this difference.  What I've been _told_ is that '' and
NULL are under some circumstances (maybe integers?) the same thing,
whereas of course ' ' and NULL are not.  But since I'm not an Oracle
user, people should feel free to ignore me :)

A


-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Everything that happens in the world happens at some place.    --Jane Jacobs 


pgsql-sql by date:

Previous
From: "Bart Degryse"
Date:
Subject: Re: Differentiate Between Zero-Length String and NULLColumn Values
Next
From: Herouth Maoz
Date:
Subject: Re: Differentiate Between Zero-Length String and NULLColumn Values