Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Table design decision
Martin Doherty wrote:
> DA Morgan wrote:
> [snip]
>
>> I respectfully disagree. At least based on what you have written here >> so far. Consider the following lookup table design: >> >> ID NUMBER(10), >> OBJECT_TYPE VARCHAR2(5), >> OBJECT_VALUE VARCHAR2(30)); >> >> It can handle an infinite number of objects of an infinite number of >> types ... all in one object. I'm not saying it would work for you ... >> but 50 lookup tables ought to drive any report writer that has to deal >> with this later absolutely crazy. >> >> Ah you have already met with the report writers and gotten their >> requirements and input haven't you?
I think it is lack of imagination in that I suspect the requirement for 50 separate foreign keys was written by you ... no end user has ever demanded a specific number of foreign keys ... they just ask for specific functionality. Go back to the drawing board. ;-)
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Tue Jan 17 2006 - 15:40:30 CST