Errata to
�Halpin, T. A. 2001, Information Modeling and Relational Databases
(Morgan Kaufmann:
Last updated: 2006 April 30
Many errata in the
first printing of the book were corrected in the second printing, released in
February 2003. To determine the print version of your copy of the book, look at
the row of digits below the copyright notice on the verso of the main title
page: the final digit denotes the print version (e.g. 1 = first printing, 2 =
second printing).
���� If you spot any other errors, please e-mail them to the author
at [email protected]. Thanks to all
who reported errors, especially Andy Carver, proof-reader extraordinaire!
Corrections to Second Printing
The following
corrections should be made to the second
printing of Halpin, T.A. 2001, Information
Modeling and Relational Databases, Morgan
Kaufmann:
p. 419, para. 3
line 6: �carRegNr�
� �[carRegNr]�
line 9: �carModel,
empNr� � �carModel,
[empNr]�
p. 471:
Line
2: �003)� � �003), and that the
same car may be driven by more than one employee (ABC123)�
Line
3: �name� � �name, sex�
p. 488, Table 11.3:
�date, first, level� � �DATE, FIRST, LEVEL�
������ �before, row, trigger� � �BEFORE, ROW, TRIGGER�
p. 489, Table 11.4 caption:
�SQL-89� � �SQL-89 (assume
upper-case version)�
p. 493, Ex 11.4, Q. 1:
�in which of SQL-89, SQL-92, or SQL:1999?� � �in SQL-89, if shifted to
upper-case?�
Add
Question 2:
�Which
of the entries in Question 1 are legal identifiers in which of SQL-92 and SQL:1999?�
p. 517:
Figure
11.47, 4th SQL query, last line: �name� � �firstname�
First
para.:
Append �If the system is case-insensitive (the default for SQL Server), the result
table in the second query should include Aries.
p. 609,
Fig.
12.38: Connect equality constraint to left-hand roles, not the role-pairs.
Fig.
12.39: Add name �T� to the upper
predicate on the right hand side.
p. 610, Fig. 12.40, right hand side only: �Discipline�
� �DisciplineSet�
p. 653, Fig. 12.69:
The
uniqueness constraint on Review
assigns Rating
should span just the left role, not both roles.
p. 701, para. 2,
last sentence: �An exercise question is included at the end of this section to
help you appreciate� � �The instructor�s guide includes an extra question
for Exercise 10.3 that demonstrates�.
Online Appendix C:
p. C-3, para. 2, last line: �Now suppose
that Eve is consider the query� � �Now consider the
query�.
Corrections to First Printing
The following
corrections should be made to the first
printing of Halpin, T.A. 2001, Information
Modeling and Relational Databases, Morgan
Kaufmann:
p. xix:
para. 1, line 4: �peak� � �pique�
para. 2, line 1: �development B:� � �development.�
p. xxi, para. 2, line 1:
�peak� � �pique�
p. 10, para. 4,
last line: �where each column is unique� � �where each column
entry occurs only once in its column�
p. 42, line 9: �primary
way or� � �primary way of�
p. 71:
line
9: �Bloggs F� � �Bloggs FB�
���� para. 5, line
3: �different student numbers� � �different student
numbers,
suggesting that different students may have the same name�.
p. 86, Fig. 3.15: rightmost predicate should
connect to the nested object type, not a role within it.
p. 106, last line: �entity
types� � �value types�
p. 107:
first
line: �value types� � �entity types�
para. 4, lines 7-9:
� ������� �for use within. A
number � support for the Visual Studio.net method ��
���� � � �for use within Visual
Studio.net. A number � support for the method ��
p. 115, para. 2,
line 3: �make each value the same� � �make each value
different�
p. 132, para. 2:
�So outer joins have little relevance to conceptual modeling, and we will
ignore them for now. However,� � �It is possible
however to use outer joins to construct derived fact types that include null
values in their associated fact tables. Moreover,�.
p. 137, para. 2:
Replace all of the paragraph after the first sentence by: �For example, a point
in 3-dimensional space might be identified using the sentence types Point has x- Coordinate, Point has y- Coordinate,
Point has z-
Coordinate, with an external
uniqueness constraint spanning the three coordinate roles.�
p. 155: Left-align �and
studied Subject� with �Person scored Rating�
p. 173, para. 4,
line 2: �scheme or� � �scheme or is�.
p. 185, line 3: �expert in
Group� � �expert in Language�
p. 252, para. 3,
line 3: delete �and objectified predicates,�
p. 255, Fig. 6.43: Add the
tuple (103, 5) to the pregnancies fact table
p. 266, Ex. 6.5, Q.6,
Planets table, Nr of moons column:
for
Jupiter: 16 � 28
for
Saturn:� 24 � 30
para.
3
line 6: �carRegNr�
� �[carRegNr]�
line 9: �carModel,
empNr� � �carModel,
[empNr]�
p. 471:
Line
2: �003)� � �003), and that the
same car may be driven by more than one employee (ABC123)�
Line
3: �name� � �name, sex�
p. 488, Table 11.3:
�date, first, level� � �DATE, FIRST, LEVEL�
������ �before, row, trigger� � �BEFORE, ROW, TRIGGER�
p. 489, Table 11.4 caption:
�SQL-89� � �SQL-89 (assume
upper-case version)�
p. 493, Ex 11.4, Q. 1:
�in which of SQL-89, SQL-92, or SQL:1999?� � �in SQL-89, if shifted to
upper-case?�
Add
Question 2:
�Which
of the entries in Question 1 are legal identifiers in which of SQL-92 and SQL:1999?�
p. 517:
Figure
11.47, 4th SQL query, last line: �name� � �firstname�
First
para.:
Append �If the system is case-insensitive (the default for SQL Server), the
result table in the second query should include Aries.
p. 538, last SQL query: �from
Pupil2� � �from Pupil�.
p. 545, Fig. 11.57, last
line: �language� = �
p. 596: Fig. 12.25(b): uniqueness constraint on Evaluation was for Subject should span both roles, not just the first role.
p. 599, Figs. 12.30 and 12.31: rightmost predicate
should connect to the nested object type, not a role within it.
p. 609,
Fig.
12.38: Connect equality constraint to left-hand roles, not the role-pairs.
Fig.
12.39: Add name �T� to the upper
predicate on the right hand side.
p. 610, Fig. 12.40, right hand side only:
�Discipline� � �DisciplineSet�
p. 622, para. 3, line 4: �number of tables� � �number of tables or columns�.
p. 636, para. 6, line 5: �uniqueness� � �only uniqueness�.
p. 652, Fig. 12.68: Add mandatory constraint to
bottom role of Committee
is chaired by Person.
p. 653, Fig. 12.69:
The
uniqueness constraint on Review
assigns Rating
should span just the left role, not both roles.
Move
the mandatory constraint from the bottom role of Person is chair2 of Committee to the bottom role of Person is chair1 of
Committee.
p. 687, Fig. 13.18: Add
the reference mode �(nr)� to the Account object type.
p. 701, para. 2,
last sentence: �An exercise question is included at the end of this section to
help you appreciate� � �The instructor�s guide includes an extra question
for Exercise 10.3 that demonstrates�.
p. 763, author details,
line 1:
� ��the database modeling, enterprise� � �database modeling in the enterprise�
Answers to odd-numbered questions:
Ex. 3.4, Q. 7(g): �Company
uses Computer� � �Person uses Computer�.
Answers to even-numbered questions:
Ex.
4.4, Q. 2(c): Role attached to predicate inside nested object type should
instead be attached to the nested object type itself.
Online Appendix C:
p. C-3, para. 2, last line: �Now suppose that Eve is consider the query� � �Now consider the query�.