Optional Syntax Elements for TD_Unpivoting - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
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.