this post was submitted on 24 Dec 2023
98 points (96.2% liked)
Today I learned
13154 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Conceptually, as in what the null represents at the DB level, yes. Logically, at the software level, I'd say sort of, but not really. It's complicated. Does it make sense to compare values of fundamentally different types?
In a system like Java's where everything derives from a common
objectclass one can saynullis a valid value ofobjecttype, so any two null values are equivalent. With ANSI nulls, even null isn't equivalent to null.