dmctiernan
Technical User
Hi All,
I'm pretty much learning as I go along so bear with me. I am trying to develop a database in SQL Server 2005 for tracking manufactured items on projects. We manufacture conveyor systems and I am trying to track certain manufactured item information for sales and support purposes, such as the motor/gearbox details, shaft details and belt details. However, I have now come to a point where I have been stumped on how to best implement something.
We can use different physical belt types on a conveyor. However all the information that defines each belt type is different. I'll try to explain better:
Belt Types:
1) Wire Mesh
2) Endless
3) Modular Plastic
Ideally I need to have a seperate table for each belt type because the defining information is not common to all belt types but in relation to the actual conveyor, it is simply just a belt. If the belt type is WireMesh then get the belt details from the WireMeshBelts table, or if the belt type is ModularPlastic get the belt details from the ModularPlasticBelts table and so on. How can I setup a conditional relationship like this or is this something that I really need to deal with in my interface instead (VB2005 using ADO.NET 2.0 for data access).
I hope this makes some sense to someone, if not I can try to better explain.
Cheers,
Declan.
I'm pretty much learning as I go along so bear with me. I am trying to develop a database in SQL Server 2005 for tracking manufactured items on projects. We manufacture conveyor systems and I am trying to track certain manufactured item information for sales and support purposes, such as the motor/gearbox details, shaft details and belt details. However, I have now come to a point where I have been stumped on how to best implement something.
We can use different physical belt types on a conveyor. However all the information that defines each belt type is different. I'll try to explain better:
Belt Types:
1) Wire Mesh
2) Endless
3) Modular Plastic
Ideally I need to have a seperate table for each belt type because the defining information is not common to all belt types but in relation to the actual conveyor, it is simply just a belt. If the belt type is WireMesh then get the belt details from the WireMeshBelts table, or if the belt type is ModularPlastic get the belt details from the ModularPlasticBelts table and so on. How can I setup a conditional relationship like this or is this something that I really need to deal with in my interface instead (VB2005 using ADO.NET 2.0 for data access).
I hope this makes some sense to someone, if not I can try to better explain.
Cheers,
Declan.