I have a table with lots of redundant data.
I'd like to change some of the VARCHAR values to some sort of "AUTO_LOOKUP" data type, that automatically maintains and resolves values from a look-up table.
MySQL does this partially with the ENUM datatype, but it requires ahead-of-time definition of all known values. I would like the list of values to dynamically grow.
Does this exist?
Related questions:
Similar concept, using a custom datatype in Derby: User-defined types in Apache Derby as ENUM replacements
Similar concept, but handling 100% in the client application (I want it handled in the database instead): Ways to save enums in database