| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: MV Keys
"Marshall Spight" <marshall.spight_at_gmail.com> wrote in message
news:1141260473.796686.131530_at_u72g2000cwu.googlegroups.com...
> Jon Heggland wrote:
>> > > >> > > What definition of 1NF do you use? I'm asking in earnest; there are >> > > quite a few different definitions floating around. >> > >> > I guess I use the definition that says 1NF means no >> > attributes of compound types. No list or set typed >> > attributes, that is. >> >> So compound == list or set? What about ordered pairs? Or fixed-size >> arrays? Where do you draw the line, and why? Is it the variable size >> that is important? Is VARCHAR compound (disregarding "convention"), but >> CHAR not? >
>
> > >> > (Only conventionally we have to >> > pretend that varchar is not a compound type if we >> > want to use this definition, because, practically >> > speaking, you can't live without strings.) >> >> Yes. But are strings/varchar then completely unproblematic? And if so, >> what makes other kinds of lists (or sets) theoretically problematic? >
Then there's no difference between a varchar and an int. Both are lists whose elements (under most circumstances) do not belong to the universe of discourse, and in both cases it is the permutations of those elements that do.
I think there's a fundamental difference between a varchar or an int and an abstract data type whose elements do belong to the universe.
> >> To use lists, sets or relations as attributes >> introduces bias and asymmetry in the database design, as shown by Date >> in his writings on RVAs: Essentially, you create a hierarchical database >> if you use them (which, BTW, may help explain why some people think list >> attributes are a good idea:). This might be called 1NF anomalies, >> Marshall. >
>
> >
![]() |
![]() |