Why would you default a field to NULL instead of just leaving the value empty? Is it merely so you can query IS NULL ?
I'm specifically asking about INT or other numerical data types
Why would you default a field to NULL instead of just leaving the value empty? Is it merely so you can query IS NULL ?
I'm specifically asking about INT or other numerical data types
Because there's a semantic difference between NULL and empty.
If a field is empty, how can you tell the difference between the following?
That's what NULL is for: if you don't know the value then use NULL; if you know the value -- empty or not -- then use it.