Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: VARCHAR2: NULL value vs. empty string
Daniel Gustafsson wrote:
> From the standard compliance tables in the Oracle SQL Reference
> manual.
> "Oracle partially supports these subfeatures:
> E021-02, CHARACTER VARYING data type (Oracle does not distinguish a
> zero-length VARCHAR string from NULL)
> E021-03, Character literals (Oracle regards the zero-length literal ''
> as being null)"
And how, exactly, do you correlate this with the ANSI standard? NULL in the standard is a lack of a value ... it is not a zero length string.
You are making an assumption. And an incorrect one.
> Daniel Gustafsson, Mimer SQL Development
> http://www.mimer.se
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sun Dec 14 2003 - 12:03:04 CST
![]() |
![]() |