| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: 3 value logic. Why is SQL so special?
-CELKO- wrote:
>>> , what would be the consequences of NULL=NULL being true?
By which definition? I thought that was TRUE by definition?
OR T ? F
T T T T
? T ? ?
F T ? F
(Recommended to use constant-width font for viewing the table.)
> UNKNOWN OR TRUE = TRUE -- by definition
>
> NULL AND TRUE = NULL -- by definition
> UNKNOWN AND TRUE = UNKNOWN -- by definition
>
> This is why we have the <exp> IS [NOT] [TRUE | FALSE |UNKNOWN]
> predicate in SQL-92
-- Jonathan Leffler #include <disclaimer.h> Email: jleffler_at_earthlink.net, jleffler_at_us.ibm.com Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/Received on Tue Sep 19 2006 - 02:03:07 CDT
![]() |
![]() |