> > Let's talk about supertype-subtype relationship. Here's the problem:
> > I have to use a column in the supertype to find a corresponding
[quoted text clipped - 15 lines]
> >
> > bogston
> > The two most common ways are the one that you are using and adding the
> > columns of subtypes to the supertype table and allowing attributes of X for
[quoted text clipped - 3 lines]
> thinking. Adding the subtypes to the supertype isn't practical in our
> situation. There is one supertype with ten subtypes.
Perhaps the large number of subtypes indicates some flaw in the design? You
aren't programming mammal classification, aren't you? (For huge hierarchies
type-subtype paradigm breaks anyway, as one better program generic
parent-child relationship instead of making them types).
> The smallest
> subtype has 15 columns. To combine into one table there would be over
> 200 columns. That's not pretty. Thanks.
Thanks god somebody still is able to smell if the design stinks! Normally,
people give it much less thought. You might enjoy googling the thread
"Stupidest table I ever saw".
bogstonkott@netscape.net - 26 Mar 2004 21:36 GMT
> > "Tom Hester" <$$tom@metadata.com> wrote in message
> news:<76b19$4060bb79$45033832$26263@msgid.meganewsservers.com>...
[quoted text clipped - 11 lines]
> type-subtype paradigm breaks anyway, as one better program generic
> parent-child relationship instead of making them types).
Very good! The data model I am working with is not ideal, but it is
correct for the problem at hand. Three people have beat on this data
model and have agreed that the design is the best we can do. An
existing data model is being converted here. The historical data must
be preserved. Compromises must be made.
> > The smallest
> > subtype has 15 columns. To combine into one table there would be over
[quoted text clipped - 3 lines]
> people give it much less thought. You might enjoy googling the thread
> "Stupidest table I ever saw".
Surely that table is not in production anywhere on this planet.
Mikito Harakiri - 26 Mar 2004 22:22 GMT
> Surely that table is not in production anywhere on this planet.
Huh? It a masterpiece of one of the big three DB vendors(!), won't tell you
which one in order to avoid flamewars.
Mike Sherrill - 27 Mar 2004 16:10 GMT
>An
>existing data model is being converted here. The historical data must
>be preserved. Compromises must be made.
Are you under the impression that a) converting an existing logical
model and implementation, and b) preserving historical data *requires*
compromises in the new logical model? In the new implementation?

Signature
Mike Sherrill
Information Management Systems