CHAPTER 10 Hierarchies in Data Modeling
TYPE HIERARCHIES ARE useful when you are trying to model entities for a database. How this hierarchy is mapped into SQL DDL is another issue. Many years ago, at an ANSI X3H2 Database Standards Committee meeting in Rapid City, S.D., Bjarne Stroustrup gave a lecture on C++ and object-oriented (OO) programming research at Bell labs. When asked about using OO concepts in databases, he replied that the people at Bell labs had experimented with it, tried several approaches, and came to the conclusion that although OO was good for programming, it was a bad idea for data. The most recent model of OO also seems to have gone back to a separation of data and procedures.
However, programmers who come into SQL from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access