A system, method, and computer program product for processing a database
query are presented. Steps for identifying a value expression comprising
information needed in order to resolve a query, associating enumerated
values with the set of distinct values for the value expression,
evaluating the query utilizing the enumerated values, and deleting the
association are disclosed.