Skip to main content
Returns whether all input arrays have at least one common, non-NULL element. Note that if the input arrays have only a NULL element in common, ARRAYS_OVERLAP returns FALSE. Returns NULL if any of the inputs is NULL.

Syntax

Parameters

Return Type

BOOLEAN

Examples

The following example returns TRUE because all input arrays contain the element 2.

Rows: 1Execution time: 7.59ms

The following example returns FALSE because no element appears in all input arrays.

Rows: 1Execution time: 5.47ms

The following example returns FALSE because no non-NULL element appears in all input arrays.

Rows: 1Execution time: 5.71ms

The following example returns NULL because one of the inputs is NULL.

Rows: 1Execution time: 5.55ms