Case Study: Heights |
H-1 |
| Requirements Analysis | |
|
When designing a database, a good place to start is to work
out what we want out of the system. In this case the database will be used to record the
names and heights (in centimeters) of people you know. Reports required will give us a good indication of what data we need to store in the database. In this case we would like to produce a report listing all the people in height order. |
![]() |
Before you build the database you should sit down an sketch
out the tables and fields needed to complete the task. Failure to do this will usually result in unstable tables that need to be modified at a later stage. |
|
From this the structure of the database, tables, records and
fields can be developed.
|
| Table design: Heights |
Finally work out the data types and sizes for each field.
| Key | Field Name | Data Type | Description | Field Size | Required |
| Yes | FullName | Text | 30 | Yes | |
| Height | Number | Integer (+/-32,767) |
No |
[Rev 20/04/99] 24/3/98 © 1999 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.