TD_StrApply Syntax | strapply | Teradata Vantage - TD_StrApply Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-02-17
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
TD_strApply (
  ON { table | view | (query) } AS InputTable PARTITION BY ANY
  USING
  TargetColumns ({ 'target_column' | target_column_range }[,...])
  [ OutputColumns ('output_column' [,...]) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
  StringOperation (str_operator)
  [ String ('string')]
  [ StringLength ('length') ]
  [ OperatingSide ({ 'Left' | 'Right' })]
  [ IsCaseSpecific ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ EscapeString ('escape_string')]
  [ IgnoreTrailingBlank ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ StartIndex ('start_index')]
  [ InPlace ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
)
You can call this function from:
  • The FROM clause of a SELECT statement
  • As part of a CREATE TABLE statement
  • As part of a CREATE VIEW statement