ScaleByPartition Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Version 1.6

SELECT * FROM ScaleByPartition (
  ON { table | view | (query) } PARTITION BY partition_columns
  USING
  ScaleMethod ('method' [,…])
  [ MissValue ({ 'KEEP' | 'OMIT' | 'ZERO' | 'LOCATION' })]
  TargetColumns ( { 'target_column' | target_column_range }[,...] )
  [ GlobalScale ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
  [ Multiplier (multiplier [,...]) ]
  [ Intercept (intercept [,...]) ]
) AS alias;