Hi,
I have been working on the design of a small inventory database for our mobile data equipment. Along with the inventory, I am tracking service and maintenance. I believe I have a good idea on how to normalize the table, but one thing that is escaping me is how to handle the multiple tables of the different equipment that have dissimilar attributes. Many of the different pieces of equipment contains the same attributes such as serial number, make, model, ect. But, most have unique attributes that are not related to each other and are better stored with their type of equipment.
I have found several post and read different ways to handle this with one way creating a main inventory.device table which would store a unique ID for each piece of equipment. Using this main table, I can create a junction table to assign the equipment to an fire truck or service/maintenance table. If I don't use some type of main table for the inventory, I would need to create a junction table for each type of equipment, which I am certain is wrong.
Inventory.Device table
inventory_id
Device_Type (GPS, Dock, Mobile Computer)
Date_Purchased
Cost
Date_Retired
(how to link this table to my child tables)
GPS_Unit table
GPS_ID
Serial_Num
Model
Dock table
Dock_ID
Serial_Num
Model
Order_Num
Carton_Num
Mobile_Computer table
Computer_ID
Serial_Num
Make
Model
IP_Address
I have looked the sample databases (link provided in many post), but none seem to address the issue (at least that I can make out) of storing inventory with different types of equipment and linking back to a main inventory table.
Any links, idea are diagrams would be greatly appreciated.
Thanks,
Brent