Escolar Documentos
Profissional Documentos
Cultura Documentos
3. Third, he will show Fred how he can query the resulting database
Introduction
This chapter shows how to implement an REA diagram in a database.
The REA data modeling can also be used to design object-oriented
databases.
We begin by showing how to integrate separate REA diagrams developed for
individual transaction cycles into a single, comprehensive enterprise
wide data model.
Page 1 of 9
Page 2 of 9
Page 3 of 9
Page 4 of 9
Page 5 of 9
Page 6 of 9
Completeness Check
The list of attributes that users and management want included in the
database provides a means to check and validate the implementation
process.
Checking this list against the table column names may reveal not only
the fact that a particular attribute has not been assigned to the
appropriate table in the database but may even indicate the need to
modify the REA diagram itself.
Paul Stone double-checked the list of desired attributes; he found that
he did not have any table to cover the attribute product discussed
during sales calls.
Paul realizes that this necessitates creating another entity Call on
Page 7 of 9
Customers.
It is often useful to create tables even before completely finishing an
REA diagram and assign attributes to them.
Once all attributes have been assigned to tables, a final accuracy check
of relational databases is required:
1. Every table must have a primary key.
2. Other nonkey attributes in each table must be either a fact about
the thing designed by the primary key or foreign keys used to link
that able to another table.
3. Every attribute in every table is single-valued.
Page 8 of 9
Page 9 of 9