| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: A new proof of the superiority of set oriented approaches: numerical/time serie linear interpolation
"Cimode" <cimode_at_hotmail.com> wrote in message news:1177913751.812247.69630_at_n76g2000hsh.googlegroups.com...
> On 29 avr, 23:01, "Brian Selzer" <b..._at_selzer-software.com> wrote:
> I do not understand where do you see a self join? >
> I just think that handling missing data through NULLS is just the > worst way of doing it. So I think interpolation may probably be > closer to what Codd had in mind by formulating the prerequisite for a > dbms to be able to have a *systematic way missing data*.(or at least > numeric/datetime data)
NULLs can be eliminated by splitting a relation horizontally. The only thing lost in the process is the sense of applicability, but that can be overcome by creating a third relation with an applicability attribute and either one or two foreign key constraints, depending on whether or not the attribute always applies. With nullable attributes there's no need for a third relation, and sometimes not even a second. If an attribute always applies (a functional dependency exists), but some of the values may be absent, then a nullable attribute would be in order. If an attribute sometimes applies, but when it does, a value is always present, then a separate relation with a foreign key constraint would suffice. If an attribute sometimes applies, but even when it does, a value may be absent, then a separate relation with a foreign key constraint along with a nullable attribute would be needed. In this way it can be determined from the schema definition whether an attribute applies always or sometimes, and when it does apply, whether a value can be absent.
>> [snip]
>
>
Received on Mon Apr 30 2007 - 03:19:04 CDT
![]() |
![]() |