Associations

Top  Previous  Next

 

An association is a set of two or more multi-valued fields that are related such that the values are inter-dependent. For example, an order processing database might contain a file listing the items in each order. This would require a multi-valued list of products and a corresponding multi-valued list of quantities. A realistic data file may contain several associated sets of fields.

 

The query processor needs to know about this relationship. An association is defined by giving it a name which appears in field 7 of the dictionary entry of each field in the association. There is also a phrase record with this name which contains a space separated list of the fields that make up the association.

 

Thus, starting from any one element of the association, its dictionary entry can be used to find the phrase record which, in turn, allows the query processor to find all the members of the association.

Associations