Boolean datatype equivalent in MySQL

Is there a datatype in mysql that is equivalent to boolean
LVL 6
Ravi KallaTechnology LeadAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
'Boolean' in MySQL is a synonym for TINYINT(1).
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
0
 
Loganathan NatarajanConnect With a Mentor LAMP DeveloperCommented:
What do you want to store as Boolean? 1 or 0  OR T or F?  because there is no straight way to use boolean data type in Mysql.. instead of you can use CHAR (1) or tinyint(1) way to use.
0
 
Ravi KallaTechnology LeadAuthor Commented:
Thanks for the quick answers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.