F(x,y) - Teradata Warehouse Miner

Teradata Warehouse Miner User Guide - Volume 2ADS Generation

Product
Teradata Warehouse Miner
Release Number
5.4.5
Published
February 2018
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
qhj1503087326201.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2301
Product Category
Software

An arithmetic formula of two arguments, ‘x’ and ‘y’, may be entered using the F(x,y) SQL element. This element will result in the appropriate SQL for the formula being generated after replacing the arguments ‘x’ and ‘y’ in the formula with the SQL for the arguments in the tree.

Variable Creation > Input > Variables: SQL Elements pane - Other > F(x,y)

Columns or other expressions can be moved into the (empty) branches of the tree representing the arguments ‘x’ and ‘y’. The formula to generate SQL for is specified in the Properties panel. Double-click on F(x,y) or highlight it and click Properties to create or edit the desired formula.