Will it make any difference to use FALSE/TRUE or 0/1 for BOOL/BOOLEAN field in mysql. Which one of them is better/safer to use?
Share
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.
The constants TRUE and FALSE evaluate to 1 and 0, respectively; so there is no difference between using TRUE/FALSE or 1/0 .