how to design a hierarchical structure output to Indesign

J

JRough

This database outputs to Indesign for printing and needs to be
structured around what it does. The database worked until recently we
needed to add products of a different type from clothing. The product
number is the name of a product for a company for example some type of
clothing, a sweater.

Product:prodNum, size, price
Skew:skewNum, prodNum, color

This works great for clothing, sweaters, shirts where there are only
size attributes and color for the skew.
But for a company that advertises tennis shoes for example this
wouldn't work. There would be other attributes such as upper sole,
whatever.

So to normalize it I thought of
Product:prodID, prodNum
Attributes:prodID, attribute
Skew:skewID, ProdID, skewNum, color

I am not sure this is it. It may need a parent child relationship in
product to attributes. Is there a way to get rid of the attributes
table and just have product and skew so it works also for the
clothing?

thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top