Path: text.usenetserver.com!out03b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!56g2000hsm.googlegroups.com!not-for-mail
From: JOG <jog@cs.nott.ac.uk>
Newsgroups: comp.databases.theory
Subject: Re: Examples of SQL anomalies?
Date: Mon, 7 Jul 2008 13:11:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 33
Message-ID: <0ee62b7a-9611-4fd0-9f8e-4faa50a3b9e4@56g2000hsm.googlegroups.com>
References: <g3vlk2$6nf$1@aioe.org> <r24864l3hq7evilchjblbdm00hgvmhle0r@4ax.com> 
 <48641b7e$0$4066$9a566e8b@news.aliant.net> <5df510ce-9cbd-4260-b5bc-1ac8ba0b17ba@e39g2000hsf.googlegroups.com> 
 <f219a6bd-9d8e-4cfe-9d60-ce9dcaeff16d@z66g2000hsc.googlegroups.com> 
 <nFD9k.5753$LG4.2422@nlpi065.nbdc.sbc.com> <wq4bk.28$0V1.10@trndny01> 
 <gI6bk.11000$cW3.8591@nlpi064.nbdc.sbc.com> <D8ubk.240$rb1.211@trndny08> 
 <zOvbk.31378$ZE5.24693@nlpi061.nbdc.sbc.com> <jSwbk.249$rb1.205@trndny08> 
 <3Yxbk.21319$co7.18979@nlpi066.nbdc.sbc.com> <6ad51b62-e66a-4daa-b21c-c361fd6b22f8@8g2000hse.googlegroups.com> 
 <486f6f35$1@news.unimelb.edu.au>
NNTP-Posting-Host: 90.192.114.44
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1215461514 16329 127.0.0.1 (7 Jul 2008 20:11:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 7 Jul 2008 20:11:54 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 56g2000hsm.googlegroups.com; posting-host=90.192.114.44; 
 posting-account=H0ckjQoAAADRgkguzQRGVwl65wXgA5te
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) 
 Gecko/20080623 Firefox/2.0.0.15,gzip(gfe),gzip(gfe)
Xref: usenetserver.com comp.databases.theory:171925
X-Received-Date: Mon, 07 Jul 2008 16:11:54 EDT (text.usenetserver.com)

On Jul 5, 1:55 pm, goanna <spamt...@crayne.org> wrote:
> Marshall <marshall.spi...@gmail.com> writes:
> > What can be meaningfully asked is determined by the schema.
>
> Close. What can be meaningfully asked is determined by the meaning
> of the schema.  In the case of nullable attributes, this must be
> specified, not guessed.
>
> > If the schema specifies that the weight attribute is nullable,
> > then the question of how much a shipment weighs in total
> > is a question that cannot be asked.
>
> If the schema specifies that the weight attribute is nullable,
> we need to know what, precisely, is the intended meaning of a
> null weight.

No we don't. It suffices to know that the question cannot be asked of
the RM, whatever it was supposed to mean.

> If may mean that the weight is unknown, or it may
> mean that the weight attribute is not applicable to this entity
> (e.g. the weight of an electronic book), or it may mean ...
> In a badly designed schema it may unfortunately be used with
> more than one meaning without permitting them to be distinguished.
>
> Nulls are often but not exclusively used to mean unknown value.
> Failure to distinguish between different uses of null is the
> basis of most of these, rather pointless, arguments.

Again, no. Theoretically nulls do not belong where a value should be.
This is not a comment on missing data, but on avoiding hemorrhaging
the relational model's underlying mathematics. We should be able to do
better than that in computer "science" after all.
