Unpack Function Syntax | Teradata Vantage - 17.05 - Unpack Syntax - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Analytic Functions

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1206-170K
SELECT * FROM Unpack (
  ON { table | view | (query) }
  USING
  TargetColumn ('target_column')
  OutputColumns ('output_column' [,...])
  OutputDataTypes ('datatype' [,...])
  [ Delimiter ('delimiter') ]
  [ ColumnLength ('column_length' [,...] ) ]
  [ Regex ('regular_expression') ]
  [ RegexSet ('group_number') ]
  [ IgnoreInvalid ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
) AS alias;