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

Home -> Community -> Usenet -> comp.databases.theory -> Re: NULLs: theoretical problems?

Re: NULLs: theoretical problems?

From: -CELKO- <jcelko212_at_earthlink.net>
Date: Sat, 11 Aug 2007 11:38:20 -0700
Message-ID: <1186857500.847581.19970@r34g2000hsd.googlegroups.com>


>> The ANSI standard defines NULL as follows:

    "null value: A special value that is used to indicate the     absence of any data value." <<

We needed to word it that for reasons of implementation. In Codd's model there is only one NULL, a type-less marker. But hardware has to allocate storage and therefore we had to allow for "CAST (NULL AS <data type>)" to signal the SQL compiler about that column's storage. There are some situations where the compiler cannot determine the data type of a CASE expression without explicit CAST() help.

Does anyone seriously gripe about floating point numbers having gaps in them because of implementation considerations? No, we just pick on poor little NULL ... Received on Sat Aug 11 2007 - 13:38:20 CDT

Original text of this message

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