
click to enlarge
The second type of database you can create with Access 2007 is the Relational database. Relational database capabilities are the reason why people turn to databases, because they have a need to store and retrieve different kinds of data within the same database.
Relational databases use a minimal amount of storage because they typically do not contain duplicate data that a Flat database often does. Take our contact information example from the last article. Suppose you had a contact in your database that had more than one address. You would either have to choose which address to include in your Flat database or have multiple “address” fields such as “address 1,” “address 2,” and “address 3.”
The problem with this approach is that you may eventually have contacts with lots of new addresses necessitating constant additions of an “address” field to accommodate the one contact with the most number of addresses. In this way, many of your contacts would have empty fields making for a messy and larger-than-necessary database.
This is where a Relational database becomes useful. Using multiple tables, you can create one that contains just the names of your contacts and a completely different table that contains the addresses. In this way, you no longer have to add fields to the one table in a Flat database every time someone adds an address to their contact information.