View Single Post

   
  #1 (permalink)  
Old 02-28-2008, 07:02 AM
Afan Pasalic
 
Posts: n/a
Default something like ENUM - but it's not ENUM

hi,
I wonder if mysql has something like ENUM() but instead ONLY ONE it
could be selected ANY COMBINATION of these offered solutioins?
If column is ENUM('a','b','c','d') I can select 'a' or 'b' or 'c' or
'd'. Clear.
Tough, I need SOMETHING('a','b','c','d') that I can select 'a' and 'b',
or 'b', 'c' and 'd', or all of them (but must at least one)? Does exists
something like this in mysql?

thanks,

-afan
Reply With Quote