when you set a cell value to null that mean this cell is has no value
but when I put space or empty string that means that this cell has a value which is space or an empty string
for example if I have a field called Company Name
if I set null value on this field that means the name of this Company is unknown or missing
but if i set its name to space or empty string that means this Company's name is known and not missing and this name is "space"
2006-07-14 01:30:16
·
answer #1
·
answered by Mena 4
·
1⤊
0⤋
NULL is a condition where the value of a field is missing. Therefore you can't do a calculation on a field that's set to null because you have no value.
Whereas a space is a character.
I'm linking a short article that explains the reason for null.
2006-07-14 11:12:38
·
answer #2
·
answered by EricCartman00 3
·
0⤊
0⤋
I don't know about SQL for sure, but in most programming senses, NULL means that there is literally nothing there at all (or zero if shown as a number), and a space means a single character: " " a space - different from null.
2006-07-14 08:08:11
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
Yea, NULL is nothing, space is a space. When printed you may not be able to tell the difference, but they are different. NULL is 0 is ASCII which means nothing is there at all, and a space is actually 32 for ASCII, so for a space there is actually something there.
2006-07-14 08:30:48
·
answer #4
·
answered by bobseveneleven 2
·
0⤊
0⤋