We're designing an enteprise application. Some of our team members who are experienced with DB2 want to merge all of our lookup (i.e. reference) tables into one table. I normally let every logical lookup table be its own physical table. When using the Oracle database, is there any material benefit to combining all lookup tables into a single reference table?
The major disadvantage that I see of having a combined reference table is that if you want to have columns that contain values about only one type of lookup value, you have to have a meaningless column tied to all other types of lookup values.
BTW, The following is a sample lookup table named Color.
ColorType varchar2(1) e.g. R, G, B...
ColorDesc varchar2(50) e.g. Red, Green, Blue...
Combining all lookup tables into a single reference table would require the addition of a new 1st column called something like ReferenceType, where in the above example it would indicate "Color".
Thanks for your opinion,
Kim
The major disadvantage that I see of having a combined reference table is that if you want to have columns that contain values about only one type of lookup value, you have to have a meaningless column tied to all other types of lookup values.
BTW, The following is a sample lookup table named Color.
ColorType varchar2(1) e.g. R, G, B...
ColorDesc varchar2(50) e.g. Red, Green, Blue...
Combining all lookup tables into a single reference table would require the addition of a new 1st column called something like ReferenceType, where in the above example it would indicate "Color".
Thanks for your opinion,
Kim