MDIFF

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Purpose

Returns the moving difference between the specified value expression for the current row and the preceding width rows for each row in the partition.

Type

Teradata-specific function.

Syntax