Re: Logical equivalence of simple and complex types under the relational model?
Date: Tue, 30 Nov 2004 21:12:37 +0100
Message-ID: <coik7s$bhb$03$1_at_news.t-online.com>
"Neo" <neo55592_at_hotmail.com> schrieb im Newsbeitrag
news:4b45d3ad.0411301048.4a23356b_at_posting.google.com...
>> It seems to me at first sight that
>> 1) RM with simple types
>> 2) RM with complex types
>> are indistiguishable at the logical level.
>
> What is a type? What distinguishes simple from complex?
There are two things to consider for type. What is a type is fairly simple. Then there is the more complicated part of how a type is defined.
The type of a variable can be viewed as a constraint on that variable, or the allowed set of the values that variable takes. e.g. the variable x only takes integers.
The type(s) of a value can be viewed as to which categories to value
belongs.
e.g. 2 is a natural number.
Type also normally includes that operations that are allowed on that variable or value.
Rene. Received on Tue Nov 30 2004 - 21:12:37 CET