We have more than 2500
products and each of them need different
tools for assembling components together, named as "Tool Kit". There are 20 standard tools in the form, named separately.
Have you considered a basic 3 table approach?
Product
ProductId PK
ProductName
other product specific info
Tools
ToolId PK
ToolName
other Tool specific info
ProductRequiresTools (identifies which tools are required for which product)
PRTId PK
ProductID FK to product
ToolId FK to tool
any other info specific to this Product and this Tool combination
To get the Tools required for a specific product
Code:
Select ToolID from ProductRequiresTools
WHERE ProductID = [Enter the Product Id ]