Is there a reason why the manufacturer and product link is held in its own table? I would of figured to have another field on the product table saying manufacturer ID than have a table for showing manufacturer and product IDs.
Thanks.
Is there a reason why the manufacturer and product link is held in its own table? I would of figured to have another field on the product table saying manufacturer ID than have a table for showing manufacturer and product IDs.
Thanks.
=====
Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
Execution Mode: 64 Bit
Dot Net Developments - E-commerce By Experience
I don't exactly get what you mean, but as far as I can see it, you're asking if there's a possibility of just combining the two in one table (or in a simple manner of speaking, including only manufacturer name on the product table and that's it). Well, first thing, database should be normalized, second thing, we have some special cases, where we use Manufacturer details for a particular product, like mapping, audit trails, etc, therefore, relating two tables only by their IDs for a clear and strong structured database. If I got it all wrong, please feel free to elaborate the issue. I'd be willing to extend a helping hand...![]()
There are 3 tables.
One the products table has product ID
Two the ProductManufacturer table has the productID and manufacturerID
Three the Manufacturer table has ManufacturerID
Why not have the products table with the manufacturerID? cut out table two?
I can't see a logical reason for it been there.
=====
Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
Execution Mode: 64 Bit
Dot Net Developments - E-commerce By Experience