Subject | Re: MySQL Enum type? |
---|---|
Author | Adam |
Post date | 2007-06-05T10:04:15Z |
--- In firebird-support@yahoogroups.com, "kogerbnz" <kogerbnz@...> wrote:
Normalise your design properly, and this requirement 'goes away'.
http://en.wikipedia.org/wiki/Data_domain
Adam
>And that is a near perfect example of the dangers of an enum datatype.
> > I'll ask again: what are you trying to accomplish?
>
> I have a one-to-one relationship. In the "mastertable" I want to store
> a type about which other table to look up the additional fields. I
> want to store this type as one of the values from a text set.
> Hope you understand what I mean, but I think the workaround was
> already posted.
>
Normalise your design properly, and this requirement 'goes away'.
http://en.wikipedia.org/wiki/Data_domain
Adam