HASHROW Function Syntax | Teradata Vantage - HASHROW Function Syntax - Analytics Database - Teradata Vantage

SQL Functions, Expressions, and Predicates

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-01-12
dita:mapPath
obm1628111499646.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
kby1472250656485
lifecycle
latest
Product Category
Teradata Vantage™
HASHROW ( [ expression [,...] ] )

Syntax Elements

expression
An optional expression or comma-separated list of expressions that can appear in the expression list of the select clause of a SELECT statement; typically a comma-separated list of column names that make up a (potential) index.
HASHROW does not support expressions that result in UDT data types.
IF expression is … THEN HASHROW …
empty returns the maximum hash code value.
an expression that evaluates to NULL returns '00000000'XB.
a list of expressions where all the expressions evaluate to NULL
an expression that evaluates to 0, '', ' ', or a similar value
a valid, non-NULL expression that can appear in the select list of a SELECT statement evaluates expression or the list of expressions and applies the hash function on the result. HASHROW returns the resulting row hash value.
a list of expressions that can appear in the select list of a SELECT statement, where some expressions can evaluate to NULL