> >> If all you want to do is to restrict a field to certain values, and
> >> concerned with cascading operations, is a set more efficient than a
> >> key?
> >A Set or Enum?
> >I can understand "enum"s, but sets are evil.
> [JS] Why is that? I've been using sets, but I could use enums. Set just
> seemed more appropriate for a small (two or three) number of values.
Besides the fact that they're non-portable, I don't think they can
be properly indexed either, that is, if they contain multiple possible
values of the set.
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Sybase
SQL Anywhere, Oracle & MS SQL Server
Database development questions? Check the forum!