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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With