I am learning MySQL and when I wanted to add a boolean column, I saw there were two options: bool and boolean. Is there any difference between them? Thank you for your time.
Edit: what should I write in the length of the bool type.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
BOOL and BOOLEAN are both synonyms from TINYINT(1) (source). In other words, there is no difference.