Re: Base and Sub-types: single or multiple tables?
Posted by: Rick James
Date: May 26, 2011 10:26PM

(a) A single "person" table with all possible data from all sub-types, or -- No
(b) A table for "person" with the common data, and a table each for "customer" and "salesperson" each with the specific data. -- Yes

(a) will get messier and messier as time goes on.

For (b), you will have to master JOINs, but once you understand them, it will be easy.

Options: ReplyQuote


Subject
Written By
Posted
Re: Base and Sub-types: single or multiple tables?
May 26, 2011 10:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.