Optional Syntax Elements for TD_Unpivoting - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-04-01
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantage™
AttributeAliasList
Specifies alternate name for the values in the AttributeName column.The number of attribute aliases must match with number of target columns.
AttributeColName
Specifies the output column name for the AttributeName column.
Default: AttributeName.
ValueColName
Specifies the output column name for the AttributeValue column.
Default: AttributeValue.
Accumulate
Specifies the name of the input columns to copy to the output table.
IncludeNulls
Specifies whether or not to include nulls in the transformation.
Default: false.
InputTypes
If you specify 'true', instead of one column for all attribute values, the output table includes multiple columns. The attribute values appears in the column corresponding to the compatible data type of the value in the input table.
Default: 'false' (for each unpivoted column, the function outputs the values in a single column.)
Default: false.
OutputVarchar
Specify ‘true' if you want to output the AttributeValue column in VARCHAR format irrespective of its data type.
Default: false.
Not required with the InputTypes argument.
IndexedAttribute
Specify 'true’ if you want the column indexes instead of column names in the AttributeName column.
Default: false.
IncludeDataTypes
Specify 'true’ to output the original data type name.
Default: false.