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: NULL

Re: NULL

From: Jan Hidders <jan.hidders_at_REMOVETHIS.pandora.be>
Date: Wed, 08 Jun 2005 20:14:02 GMT
Message-ID: <ekIpe.114528$Po5.6677642@phobos.telenet-ops.be>


mAsterdam wrote:
>
> What makes it worse: NULL is a special case.
> People tend to just use the term and assign
> to it whatever meaning they want - even different
> meanings in different posts.
>
> So, I think a better text is needed.

Well, you should at least explain the following:

A null value can be roughly defined as a special marker that can be put in a place inside a data structure where an actual value is expected. The precise semantics of what that marker means varies and there are at least three possibilities that are sometimes assumed:

(1) "Unknown value" This means that on the place of the marker there should actually be a value but this value is not known at the present time. For example, if an 'age' field in a tuple describing a person is 'null' then this person will have a name but we don't know it.

(2) "Absent value" This means that the property that is described by the value in question is simply not defined. For example, if the 'shipping-date' field in a tuple describing an order is 'null' then the order was not shipped yet.

(3) "Whatever SQL says it means" The exact meaning is hard to summarize briefly, but is a mixture of the previous two interpretations and involves a value with three truth-values ('true', 'false' and 'unknown').

Received on Wed Jun 08 2005 - 15:14:02 CDT

Original text of this message

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