Working with enumeration types

You create enumeration types, and define the list of values they can take.

An enumeration is composed of a name and a list of values. The data that the enumeration represents can take only a value from this list.

In the following example, you see an enumeration called customer category with its possible values:
Enumeration type customer category, with its associated values premium, gold, and silver