BobEulberg
Programmer
I'm trying to find the right balance of normalizing data. I know the basics like separating customer info into one table and the vehicles that belong to those customers in another.
But within that, should I have two vehicle-specific tables, one for VIN, license plate, etc, and another for driver name, address, etc? There would be the same record count either way, so nothing would be duplicated. I'm pretty sure queries that only need one of those tables would benefit from having less fields involved, but how badly would a query that needed both be hurt by having more tables?
The example of breaking 1 table into 2 might not make a big difference either way, but what about the scenario below?
Option A:
1 Table w/ 1 key and 100 data fields
Option B:
10 tables w/ each having the 1 key plus 10 data fields
Basically I'm just looking for a little guidance as to whether it's safer to err on the side of too many tables, or too few, and reasons why.
All help is appreciated!
But within that, should I have two vehicle-specific tables, one for VIN, license plate, etc, and another for driver name, address, etc? There would be the same record count either way, so nothing would be duplicated. I'm pretty sure queries that only need one of those tables would benefit from having less fields involved, but how badly would a query that needed both be hurt by having more tables?
The example of breaking 1 table into 2 might not make a big difference either way, but what about the scenario below?
Option A:
1 Table w/ 1 key and 100 data fields
Option B:
10 tables w/ each having the 1 key plus 10 data fields
Basically I'm just looking for a little guidance as to whether it's safer to err on the side of too many tables, or too few, and reasons why.
All help is appreciated!