|
|
|
|
|
by neuromanser
1030 days ago
|
|
> SQL's NULL is far more useful though, since NULL != NULL. That's not true! (Nor is it false.) NULL = NULL IS NULL, NULL != NULL IS NULL. I can't overstate this: as soon as either (or both) operand of any binary relational operator is NULL, the whole expression is NULL! I'm not being an asshole, this is the exact mistake that makes SQL NULL the other billion dollar sink! This is really funny, because i wasn't aware of laying such a beatiful trap. |
|
Isn't is a binary operator?
Because "NULL is NULL" is True (not NULL).