Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Is This the varchar2 ZLS Issue?

Re: Is This the varchar2 ZLS Issue?

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Mon, 20 Mar 2006 19:05:18 +0100
Message-ID: <dvmq3o$64n$1@news5.zwoll1.ov.home.nl>


Arto Viitanen wrote:
> Tony Andrews wrote:
>

>> All correct - for Oracle.  But note that the ANSI standard is that the
>> empty string is NOT null, and "where '' = ''" should always be TRUE.
>> This Oracle anomaly is a trap for those used to other DBMSs that honour
>> the ANSI standard on this point.
>>

>
> I used to think this also. But honestly, where do you use value ''?

That doesn't matter; NULL is undefined, '' is defined: it's an empty string.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Mon Mar 20 2006 - 12:05:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US