J
John W. Kennedy
Lew said:It makes perfect sense. SQL embodies a consistent 3-valued logic, with
NULL as the cognate for UNKNOWN. (UNKNOWN = UNKNOWN) must be UNKNOWN.
(UNKNOWN = x) must be UNKNOWN. (UNKNOWN AND x) must be UNKNOWN.
(UNKNOWN OR x) must be UNKNOWN. (where x is one of {FALSE, TRUE, UNKNOWN})
???? In the usual 3-valued logic, UNKNOWN AND FALSE is FALSE and
UNKNOWN OR TRUE is TRUE.
--
John W. Kennedy
"Those in the seat of power oft forget their failings and seek only the
obeisance of others! Thus is bad government born! Hold in your heart
that you and the people are one, human beings all, and good government
shall arise of its own accord! Such is the path of virtue!"
-- Kazuo Koike. "Lone Wolf and Cub: Thirteen Strings" (tr. Dana Lewis)
* TagZilla 0.066 * http://tagzilla.mozdev.org