Rainy Pass Posted June 9, 2009 Posted June 9, 2009 I am trying to populate an order table with data from different product tables. I have multiple Product tables, each has it’s own complex set of attributes and associated tables. What are my options for bringing them together into an OrderLineItem table?
comment Posted June 9, 2009 Posted June 9, 2009 Very slim, I think. If those products cannot fit into the same table, you should consider a supertype/subtype model: each product has a "generic" record in the supertype Products table, and a related record in one of the more specific subtype tables.
Rainy Pass Posted June 9, 2009 Author Posted June 9, 2009 I was afraid of that. Can you explain the supertype/subtype model a little more? Or point me to more information? Thanks
comment Posted June 9, 2009 Posted June 9, 2009 There have been several threads about it (some of them very long). Do a search for "supertype" - and also for "Graham" with Fenton as the author.
Recommended Posts
This topic is 5704 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now