Re: 3vl 2vl and NULL




Hugo Kornelis wrote:

> On 4 Dec 2005 17:57:01 -0800, michael@xxxxxxxxxx wrote:
>
> (snip)
> >OK. There is one fundamental problem with this. Some of those NULLs in
> >those tuples might represent that we know something is empty - so it
> >has to be treated as a known value. All NULLs are not created equal.
>
> <sigh>
>
> Hi Mike,
>
> No. If something is known to be empty, it's not stored as NULL. At least
> not in SQL databases (which this thread is about, IIRC).
>
> If a comment is empty, iut's stored as the empty string (''). If a
> container is empty, it's contents is stored as zero gallons (0). Dates
> can't be empty. (Days can be, though - that's stored as an absence of
> rows in the Events table).
>
> Best, Hugo

What type of liquid is stored in an empty mug? Is it "unknown"? No - it
is not an unknown type of liquid. It is no liquid. The value of the
"liquid" column for the row would be empty. It would be NULL.

Super,
Mike.

.



Relevant Pages

  • Re: 3vl 2vl and NULL
    ... If something is known to be empty, ... >> Best, Hugo ... >is not an unknown type of liquid. ... NULL if the mug is empty. ...
    (comp.databases.theory)
  • Re: Propane Question
    ... liquid and the other nearly empty, coupled together with a tube between ... the empty cylinder. ... flows into the empty cylinder. ...
    (sci.physics)
  • Re: I was Jammin
    ... Empty on the left, berries in the middle, small empty ... Remove berry from center container, ... I think I still have 4 boxes of the liquid. ... "Moral indignation is in most cases two percent moral, ...
    (rec.food.preserving)
  • Re: 3vl 2vl and NULL
    ... > is not an unknown type of liquid. ... An empty mug contains no liquid. ... Prev by Date: ...
    (comp.databases.theory)
  • Re: All hail Neo!
    ... That said perhaps the fact that nulls do exist in the RM today taken with your confirmed view that they shouldn't is implied confirmation of my rather unlikely original thought...he says stepping back two full paces - did I write that? ... is the set containing an empty set and is the canonical form of all sets with cardinality 1. ... Goedel established limitations to formalism as the foundation of mathematics, and I am not sure that philosophy is meant to have an endpoint. ... I can state that I don't hold that nulls cause _great_ damage and I certainly believe that they do serve a purpose. ...
    (comp.databases.theory)