Chip said:
I guess they import the tables from some other program. The tables are NOT
the same structure. They are just selecting the relevant fields from each
table.
I agree with John Vinson that the design sounds bad, but perhaps that's
just due to my ignorance of the subject matter. One frequently finds
databases with structures far more complex than the data call for. But
if the data themselves have a complex structure, and if the people
maintaining the database are comfortable with that, then OK, they may be
doing the right thing.
But there still could be other ways to attack the problem. What is the
purpose of having a database at all? Usually, it's to simplify and
organize some collection of data. If the data are fully understood,
maybe even a computer isn't needed.
BTW, even if the database designers claimed that the ancillary Tables
have differing structures, I suspect that they may be grabbing similar
parts out of each. This could be done via Queries that could select the
relevant field(s) from each foreign Table and present them in a
consistent format, including a test-identifier field. Such Queries
could be combined (e.g., via a union query) into a single dataset that
would lend itself to further analysis, such as to average findings over
a specified collection of test types. The proposed current design
wouldn't make that a very easy task.
It sounds like (to use a spreadsheet analogy) choosing to compute a sum
as =(A1 + A2 + A3 + ... + A99) instead of =(SUM(A1:A99)). Either one
might work correctly, but the second is more easily maintainable, not to
mention easier to communicate.
-- Vincent Johns <
[email protected]>
Please feel free to quote anything I say here.
[...]
I would love them to give me a shot at reviewing and overhauling the database.
Anyway, thanks for the input.
:
[...]
Still sounds like a Really Bad Table Design. If the 25 tables
correspond to 25 different tests, all with the same table structure, a
much better design would be to have ONE test data table, with a field
to indicate which test.
[...]
John W. Vinson[MVP]