T
Tekbro
Greetings, folks! I have a table that looks like this:
TABLE: PAINTSPECS
MachineAssetNumber
MachineName
PaintSpecification
NumberofCoats
Now, I KNOW that my tables are not normalized. That's why I'm here in need
of help from you folks!
Here's my problem: Each machine can have many different PaintSpecifications
applied to it, and each with several coats. It would be fine if each machine
used only one paint and one coat of that paint.
So, how do I design my table to accomodate this? Should I design the table
more like this?:
TABLE: PAINTSPECS2
MachineAssetNumber
MachineName
Coating1
NumberofCoats of Coating1
Coating2
NumberofCoats of Coating2
Coating3
NumberofCoats of Coating3
Coating4
NumberofCoats of Coating4
Remarks
So if I ever got a piece of equipment that got more than 4 coatings, now I
have to update my table to include a 5th pair or more. Doesn't seem very
practical.
Does anyone know how to avoid designing the table this way?
TABLE: PAINTSPECS
MachineAssetNumber
MachineName
PaintSpecification
NumberofCoats
Now, I KNOW that my tables are not normalized. That's why I'm here in need
of help from you folks!
Here's my problem: Each machine can have many different PaintSpecifications
applied to it, and each with several coats. It would be fine if each machine
used only one paint and one coat of that paint.
So, how do I design my table to accomodate this? Should I design the table
more like this?:
TABLE: PAINTSPECS2
MachineAssetNumber
MachineName
Coating1
NumberofCoats of Coating1
Coating2
NumberofCoats of Coating2
Coating3
NumberofCoats of Coating3
Coating4
NumberofCoats of Coating4
Remarks
So if I ever got a piece of equipment that got more than 4 coatings, now I
have to update my table to include a 5th pair or more. Doesn't seem very
practical.
Does anyone know how to avoid designing the table this way?