Uses for NULL
suggest change- Data not yet known - such as
end_date,rating - Optional data - such as
middle_initial(though that might be better as the empty string) - Division by zero. In non-strict mode
0/0isNULLand a warning. WithERROR_FOR_DIVISION_BY_ZEROin strict mode, it is an error. - NULL is not equal to “” (blank string) or 0 (in case of integer).
- others?
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents