| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Microsoft and the two great blunders
Alfredo Novoa wrote:
> Costin Cozianu <c_cozianu_at_hotmail.com> wrote in message news:<bsdbmu$c7iot$1_at_ID-152540.news.uni-berlin.de>...
>
>
>>Table. Everybody and their grandmo know what a table is. Fore you, it is >>a relvar.But grandmo doesn't know what a relvar is.
Then your mother may not speak English very well,
> Relation is a common term out of the crazy IT world. Biz guys don't
> say: give me a table of customers.
>
They don't say give me a relation of customers either.
> But my main complaint is about using a single word for table value and
> table variable. They are fundamentally different concepts.
>
Who's using that ?
> Table is more appropiate for the SQL bags, and relation is more
> appropiate if you are talking about a relational database.
>
Ahem, you mean relvar ?
>>A >>relation is a set of tuples. Therefore a table may store all the >>values of a certain tuple type.
All the values in the domain of interest that are of a certain type. For
example all the value of Employee type.
>
>>So then the great blunder, it's not such a big deal, or is it ?
Oh, but that is allegedly one of the great blunder. Read TTM appendix.
>
>>>>Quite nice. But according to D&D types are sets of values. Well, then a >>>>relation is a set of value. >>> >>>According to D&D and many other people, types can be viewed as sets of >>>values associated to sets of operators. >> >>Not unless they've written one more edition of The Third Manifesto where >>they corrected their mistakes. >> >>Here's a reference for you: >>http://www.hughdarwen.freeola.com/TheThirdManifesto.web/D.GRM >> >>As you may see, the user who declares a type has no mean to properly >>express a set of operators as integral part of the type definition.
So if an operator is part of several types, you've got a problem. Are operators part of the type definiton or not ?
> (BTW is anybody interested on the mistakes of that grammar?)
>
> Here is an appropiate quote:
>
> -
> A type is a defined finite set of values and associated
> operators. The associated operators consist of those defined to
> operate on values or variables of that type and those that,
> when invoked, return values of that type.
> -
>
> http://www.hughdarwen.freeola.com/TheThirdManifesto.web/taamoti.paper.pdf
>
That quote doesn;t solve anything, at best it is a declaration of intention, plus it does not clarify if operators are part of type definition or not.
>>Your definition "sets of values associated to sets of operators" is >>equally unsatisfactory. Does it mean that the definition of operators is >>integral part of type definition ?
>>Or to make it easier for you to express, here's an example from TTM:
>>
>>TYPE PLANE_FIGURE ... ;
>>
>>TYPE ELLIPSE
>> IS PLANE_FIGURE
>> POSSREP { A LENGTH, B LENGTH, CTR POINT };
So what would be the complete type definition ?
>
>>Now, I wonder what you or anyone would replace those dots with, within >>the framework established by D&D, so that it makes any sense whatsoever.
Oh. But
type Plane_Figure union;
Is void of content. A proper abstract data type is something entirely different, and we already have proper mathematical formalisms to define that. Any of those formalisms haven't found their way into tutorial D or any related places.
What *is* Plane_Figure , and what's the purpose of that declaration ?
>
>>But if the framework is so weak that it can't even deal with this much >>it should be either reformed or discarded altogether.
IMHO your knowledge of the entire subject of type theory is weak.
>
>>>On the other hand, a relation >>>is an individual constant. But the "great blunder" is to confuse types >>>with relation variables, not whith relations (values). >> >>Nobody is confusing anything.
So what ? People are free to waste their time however they wish.
>
>>And this is no blunder. Most people *map* entity-types to tables. I.E.
Yes, it is. A little bit of reading on the subject wouldn't hurt you.
Try Thalheim "Entity Relationship Modelling - Fundations of Database Technology" Springer Verlag 2000
> Most people "map" entity types to classes and classes to table
> variables.
>
>
>>for every entity type found during analysis, they typically create a >>table in the relational schema to store values of that type.
So you still haven't shown any problem.
Cheers,
Costin
Received on Fri Dec 26 2003 - 02:04:03 CST
![]() |
![]() |