Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 734 Bytes

is-not-distinct-from.md

File metadata and controls

33 lines (24 loc) · 734 Bytes
description
Compares two expressions to determine whether they have the same or different values. NULLs are considered as comparable values.

IS [NOT] DISTINCT FROM

Syntax

IS [NOT] DISTINCT FROM(expression any) → boolean

  • expression: Can be a general expression of any Spice-supported data type.

Examples

{% code title="IS [NOT] DISTINCT FROM example" %}

SELECT NULL IS DISTINCT
FROM NULL

-- False

{% endcode %}

{% code title="IS [NOT] DISTINCT FROM example" %}

SELECT NULL IS NOT DISTINCT
FROM NULL

-- True

{% endcode %}