Re: Any new thoughts on OTLT (One True Lookup Table)

From: Paul <paul_at_not.a.chance.ie>
Date: Wed, 3 Mar 2004 21:25:02 -0000
Message-ID: <MPG.1ab05d632c3053219898e9_at_news1.eircom.net>


jinglebells5555_at_yahoo.com says...

> I found a discussion in the archives that was a couple of years old.
> I'm one man development team working on a small website. I'm designing
> a database that will have scores of lookup tables and I'm thinking it
> will be much quicker for me to have one "generic" one than 40
> individual ones that are almost completely identical except for the
> content.

This makes no sense. If you have "things" that you want to lookup that are similar (title - Mr., Mrs., Rev., Col., Miss, Fr.) whatever, then it makes sense to keep those similar entities in the same table (obviously "sameness" will to an extent be defined by the application), but what is the problem with having lots of small tables rather than one large (and potentially messy) table?  

> Since I'm using postgres I've also thought about using inheritance but
> that ties me to postgres.
 

PostGres, schmostGres...AcCess, schmacCess it doesn't matter what RDBMS you are using. You keep similar things together, different things arpart.

Paul...  

-- 
plinehan  y_a_h_o_o  and d_o_t  com
C++ Builder 5 SP1, Interbase 6.0.1.6 IBX 5.04 W2K Pro
Please do not top-post.

"XML avoids the fundamental question of what we should do, 
by focusing entirely on how we should do it." 

quote from http://www.metatorial.com 
Received on Wed Mar 03 2004 - 22:25:02 CET

Original text of this message