How should you design your database? Using OO inheritance principes or using database normalization rules? Which do you prefer? Why? Thanks.
How should you design your database? Using OO inheritance principes or using database normalization
Share
If you are designing a relational database, then you should use the relational model. Use normalization techniques when appropriate, which is most of the time, but not always.
The relational model has no exact analog to OO inheritance. If you need to express the class subclass relationship in a relational model, look up “generalization specialization relational modeling”.