Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Differentiate Between Zero-Length String and NULLColumn Values



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(at)crankycanuck(dot)ca
Everything that happens in the world happens at some place.
		--Jane Jacobs 



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group