Get enumerated values from a database column