Pivot Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software
Version 1.5
SELECT * FROM pivot (
  ON input_table PARTITION BY partition_column[,...]
  [ ORDER BY order_column]
  [ Domain ('host:port') ]
  [ Database ('db_name') ]
  [ UserID ('user_id') ]
  [ Password ('password')]
  [ SSLSettings ('SSLsettings') ]
  [ SSLTrustStorePassword ('SSLtruststorepassword') ]
  [ SchemaName ('schema_name')]
  PartitionColumns
    ({ 'partition_column' | 'partition_column_range' }[,...])
  { NumberOfRows ('number_of_rows') |
    PivotColumn ('pivot_column')
    [ PivotKeys ('pivot_key' [,...]) ]
    [ NumericPivotKey ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  }
  TargetColumns ({ 'target_column' | 'target_column_range' }[,...])
);
For information about the authentication arguments, see the following topics: