Unary Minus - Teradata Warehouse Miner

Teradata® Warehouse Miner™ User Guide - Volume 2ADS Generation

Product
Teradata Warehouse Miner
Release Number
5.4.6
Published
November 2018
Language
English (United States)
Last Update
2018-12-07
dita:mapPath
gxn1538171534877.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2301
Product Category
Software

The standard Unary Minus (-) operator is supported, generating -expression. Within Teradata, this operator automatically converts numeric operands to the expected result type before they are applied. Character type data is converted to FLOAT if possible before being applied. For information on the resulting data types and other specific usage information including binary arithmetic result data types, see Teradata® Database SQL Functions, Operators, Expressions, and Predicates, B035-1145. When dragging a Unary Minus into a variable, the following tree element is created.

Variable Creation > Input > Variables: SQL Elements pane - Arithmetic > Unary Minus

Columns and/or other expressions can be moved over the (empty) branch of the tree.

There are no special properties for the Unary Minus function.