What is the difference between DEFAULT NULL and the CHECKBOX NULL mysql?
I can set default as NULL or there is a checkbox below which I can check to say NULL?
What’s the difference?
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.
Having a column DEFAULT NULL means if you don’t set a value for the column, it will be NULL by default.
Having a column NULL(able) means it can be NULL at all, otherwise it will require you to set a value for the column, either by default or in the insert query. Only check that box if the value is supposed to be optional.