Dotclear

Changes between Initial Version and Version 1 of Ticket #1910, comment 4


Ignore:
Timestamp:
12/26/13 18:52:11 (12 years ago)
Author:
actatux
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1910, comment 4

    initial v1  
    1 I cannot say. I just gave a look at SQL-92 and SQL-99 BNF Grammars and the "WHERE NULL" clause is not a valid <boolean value expression>, nor the "WHERE FALSE" clause. However, by looking at the SQL-99 standard (SQL/Foundation ISO/IEC 9075-2:1999, section 4.6 Boolean types), NULL is the third boolean value for the state "UNKNOWN", and "every SQL <predicate>, <search condition>, and <boolean value expression> may be considered as an operator that returns a boolean result." (section 4.6.2.2). 
     1I cannot say. I just gave a look at SQL-92 and SQL-99 BNF Grammars and the "WHERE NULL" clause does not appear to be valid, nor the "WHERE FALSE" clause. (see http://savage.net.au/SQL/sql-99.bnf.html#where%20clause) 
     2 
     3However, by looking at the SQL-99 standard (SQL/Foundation ISO/IEC 9075-2:1999, section 4.6 Boolean types), NULL is the third boolean value for the state "UNKNOWN", and "every SQL <predicate>, <search condition>, and <boolean value expression> may be considered as an operator that returns a boolean result." (section 4.6.2.2). 
    24 
    35From my understanding, the "WHERE NULL" clause seems to be valid in SQL-99. 

Sites map