vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| yes. just found it. it's funny, I was looking for it last half hour and the second after I sent the email - I found it. yes, yes... I know. RTFM thanks. -afan sol beach wrote: > SET Column type? > > On Dec 6, 2007 2:01 PM, Afan Pasalic <afan@afan.net> wrote: > >> 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 >> >> -- >> MySQL General Mailing List >> For list archives: http://lists.mysql.com/mysql >> To unsubscribe: http://lists.mysql.com/mysql?unsub=sol.beach@gmail.com >> >> > |
| Thread Tools | |
| Display Modes | |
|
|