Page 1 of 1

best yes or no data type

Posted: Mon Jun 23, 2008 10:32 pm
by stonelord
Hi, I have been tryoing to read but I can't seem to find a good answer. What is the best data type in mysql to use for a field in my database that I want to receive a "yes" or "no" answer? or "true" or "false"? I read that 'Enum' may be one of them because I don't see 'Boolean'!!! Please help, thank you

Re: best yes or no data type

Posted: Mon Jun 23, 2008 11:02 pm
by shanti
Bool is the best data type to be used for yes or no in mysql..
i have done many examples to this type..