Product SiteDocumentation Site

6.17. Changes to general comparison semantics

The semantics of general comparison is changed as follows.
After atomization, if one of the operands is the null atomic item, the other item is not cast, and pair-wise comparison is done using the modified semantics of value comparison.
Example 6.12. General comparison: equality
Query
        (null, 2) = (1, 3)
Result
        false