G
Guest
I want to restructure our database and have some general table/normalization
questions. W manufacture beds and associated cabinetry a typical invoice may
look like
#221 double bed styleV with 2 24" cabinets
(of course there are associated details with the choice of bed and cabinets
not included in the sample due to simplification)
Since there are some slight differences in the data collected for the beds
and cabinets would it be better to set up one table that may contain empty
fields like this
tblOrders
----------------------------
record# 1
customerID 12
invoice# 221
component Queen Bed
Style V
componentwidth [null]
record# 2
customerID 12
invoice# 221
component Cabinet
Style V
componentwidth 24
....or develop seperate tables for the beds and cabinets which may not have
empty fields
tblBedDetail
----------------------
record# 1
custID 12
invoice# 221
BedSize Queen
Style V
tblComponentDetail
--------------------------
record# 1
custID 12
invoice# 221
component Cabinet
style V
width 24
questions. W manufacture beds and associated cabinetry a typical invoice may
look like
#221 double bed styleV with 2 24" cabinets
(of course there are associated details with the choice of bed and cabinets
not included in the sample due to simplification)
Since there are some slight differences in the data collected for the beds
and cabinets would it be better to set up one table that may contain empty
fields like this
tblOrders
----------------------------
record# 1
customerID 12
invoice# 221
component Queen Bed
Style V
componentwidth [null]
record# 2
customerID 12
invoice# 221
component Cabinet
Style V
componentwidth 24
....or develop seperate tables for the beds and cabinets which may not have
empty fields
tblBedDetail
----------------------
record# 1
custID 12
invoice# 221
BedSize Queen
Style V
tblComponentDetail
--------------------------
record# 1
custID 12
invoice# 221
component Cabinet
style V
width 24