I have a table with several columns.
Sometimes some of these column fields may be empty (ie. I won’t use them in some cases).
My questions:
-
Would it be smart to set them to NULL in phpmyadmin?
-
What does the “NULL” property actually do?
-
Would I gain anything at all by setting them to NULL?
-
Is it possible to use a NULL field the same way even though it is set to null?
All fields are null by default unless you specify a default value for them or insert some value for them. No need to do this…
Nullmeans that you have not assigned any value to it.As said before, all fields are null by default unless you specify a default value for them or insert some value for them. I don’t think you are going to gain anything.
What would you gain out of a field having value of NULL? No need for this too.