From: Bruno Wolff III <bruno@wolff.to>
To: Richard_D_Levine@raytheon.com
Cc: pgsql-general@postgresql.org
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
Date: Sun, 23 Oct 2005 01:02:19 -0500
Message-ID: <20051023060219.GA17200@wolff.to> (raw)
In-Reply-To: <OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com>
References: <17988.1129700125@sss.pgh.pa.us>
<OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com>
On Wed, Oct 19, 2005 at 10:07:05 -0500,
Richard_D_Levine@raytheon.com wrote:
>
> Yep. It is not just limited to empty strings; An all blank string, no
> matter the number of characters, is stored as NULL. And a corollary to
> that idiocy is that a string with two blank characters is not equal to a
> string with a single blank character in Oracle. 'a ' is not equal to 'a
> '. 'a ' is not equal to 'a'. Port that to another database. Seen the
> JOIN syntax? *sigh*
I don't believe this is true.
The following example is from Oracle 9i:
SQL> select 1 from dual where ' ' is null;
no rows selected
SQL> select 1 from dual where '' is null;
1
----------
1
Peoplesoft uses ' ' in a lot of fields as sort of a missing value code. My
theory about this is that they want to avoid database specific weirdness
involving nulls and oracles treatment of null strings.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruno@wolff.to, Richard_D_Levine@raytheon.com
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
In-Reply-To: <20051023060219.GA17200@wolff.to>
References: <17988.1129700125@sss.pgh.pa.us> <OFD2FCB0E2.76776F7E-ON0525709F.00526298-0525709F.00530C07@ftw.us.ray.com> <20051023060219.GA17200@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox