ARRAY_COMPARE Syntax - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantageā„¢

System Function

ARRAY_COMPARE ( expr1, expr2 [, scope_reference, nulls_equal_flag ] )

Method-Style

expr1.ARRAY_COMPARE ( expr2 [, scope_reference, nulls_equal_flag ] )

Syntax Elements

expr1/expr2
An ARRAY expression, which is one of the following:
  • A reference to an ARRAY column
  • An ARRAY constructor expression
  • A UDF expression
  • A UDM expression
scope_reference
An ARRAY scope reference.
nulls_equal_flag
A flag that specifies how NULL element values should be compared. Valid values for this parameter are 0 and 1.