Exercises
28.11 Analyze the RDBMSs that you are currently using. Discuss the object-oriented facilities provided by the
system. What additional functionality do these facilities provide?
28.12 Consider the relational schema for the Hotel case study given in the Exercises at the end of Chapter 3.
Redesign this schema to take advantage of the new features of SQL:2003. Add user-defined functions that
you consider appropriate.
28.13 Create SQL:2003 statements for the queries given in Chapter 5, Exercises 5.7–5.28.
28.14 Create an insert trigger that sets up a mailshot table recording the names and addresses of all guests who have
stayed at the hotel during the days before and after New Year for the past two years.
28.15 Repeat Exercise 28.7 for the multinational engineering case study in the Exercises of Chapter 22.
28.16 Create an object-relational schema for the DreamHome case study documented in Appendix A. Add userdefined
functions that you consider appropriate. Implement the queries listed in Appendix A using SQL:2003.
28.17 Create an object-relational schema for the University Accommodation Office case study documented in
Appendix B.1. Add user-defined functions that you consider appropriate.
28.18 Create an object-relational schema for the EasyDrive School of Motoring case study documented in Appendix
B.2. Add user-defined functions that you consider appropriate.
28.19 Create an object-relational schema for the Wellmeadows case study documented in Appendix B.3. Add
user-defined functions that you consider appropriate.
28.20 You have been asked by the Managing Director of DreamHome to investigate and prepare a report on
the applicability of an object-relational DBMS for the organization. The report should compare the technology
of the RDBMS with that of the ORDBMS, and should address the advantages and disadvantages of
implementing an ORDBMS within the organization, and any perceived problem areas. The report should also
consider the applicability of an object-oriented DBMS, and a comparison of the two types of system for
DreamHome should be included. Finally, the report should contain a fully justified set of conclusions on the
applicability of the ORDBMS for DreamHome.