this post was submitted on 24 Dec 2023
96 points (96.2% liked)
Today I learned
7844 readers
1 users here now
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ok, but is a Null Integer the same as a Null Text value? I'm really asking, I don't know.
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
object
class one can saynull
is a valid value ofobject
type, so any two null values are equivalent. With ANSI nulls, even null isn't equivalent to null.