1. Data Dictionaries

Data Dictionaries:  Typical Fields

A data dictionary is a table providing a comprehensive description of each field in the database.  Data dictionaries (are used) to describe the characteristics of data including:

  • field name: the name of the field as it appears in the database.

  • data type: includes text, number, date, currency, yes/no (boolean).

  • data format:  any special formatting applied to the field; e.g. number of decimal places in number fields, short, medium and long date and time formats.

  • field size:  the number of characters allowed for a given field.

  • description: a simple description of field contents.

  • example: a typical field entry.

Sample: an excerpt from a data dictionary

Field nameData typeData FormatField SizeDescriptionExample
UserIDTextNNNNNNNN8Unique eight digit number represented as text0001539
FirstNameText 25First name of employeeBill
SurnameText 25Surname of employeeSmith
DOBDateDD/MM/YYYY10Date of birth as a short date format15/07/1982
HourlyPayRateCurrency#####.##8Rate of pay expressed in dollars per hour34.50
HeightReal#.##3Height in metres, with two decimal places1.58
FeesPaidBoolean 1Y or N for Yes or NoY

Comments