The point is that enum information belongs to a type, not a column value of that type. This is the difference between a class and a class instance. If you get that, you understand. The workaround suggested only works if some non-empty row in some table has a column defined to be that enum type. An unused (yet) enum type cannot display the enum ranges. An empty table containing that type cannot display enum ranges. The example selects were what I did to figure out that enum_ranges only worked on existing data. Sorry if they were confusing. But the way enum values are currently displayed is confusing. Enums are evil because of the difficulty working with them. They should be used for a fixed set of valid values. Otherwise use a lookup table. Elein Mustain 510-637-9106
|