So a quick, upfront "Thank you" for anyone who can offer advice on this!
I have a db to handle theatre lighting gel stock that I am working on. I have two tables, one for manufacturers and one for the gel inventory.
The reason I went with the composite primary key in the first place is because more than one manufacturer may have a gel with the same color number, but no manufacturer uses the same color number more than once.
There are currently 442 records, and I do not foresee the db holding more than probably 2.5 times the current records.
Also, is this considered normalized? I am a bit confused on the normalizing bit...
Thanks for your help!
I have a db to handle theatre lighting gel stock that I am working on. I have two tables, one for manufacturers and one for the gel inventory.
tblManufacturers
So I guess my question is, should the tblGelStock have an additional field, auto increment "GelID" primary key, and just index the ManufID + ColorNumber?ManufID (autoIncrement PK)
ManufName (text)
tblGelStockManufName (text)
ManufID (FK part of composite PK)
ColorNumber (part of composite PK)
SL (int)
8Par (int)
10Leko (int)
12Fres (int)
Spot (int)
Cyc (int)
FullSheet (int)
Description (text)
ColorNumber (part of composite PK)
SL (int)
8Par (int)
10Leko (int)
12Fres (int)
Spot (int)
Cyc (int)
FullSheet (int)
Description (text)
The reason I went with the composite primary key in the first place is because more than one manufacturer may have a gel with the same color number, but no manufacturer uses the same color number more than once.
There are currently 442 records, and I do not foresee the db holding more than probably 2.5 times the current records.
Also, is this considered normalized? I am a bit confused on the normalizing bit...
Thanks for your help!