Any - Teradata Warehouse Miner

Teradata Warehouse Miner User Guide - Volume 2ADS Generation

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

The standard Any predicate is supported with an expression list or a subquery. It may be used with a comparison operator or with the In / Not In or Like / Not Like predicates. The following are some examples of the SQL generated for these cases.

expression = ANY (1, 2), is equivalent to:
expression = 1 OR expression = 2

expression IN ANY (1, 2), is equivalent to:
expression IN (1, 2) and to above

expression LIKE ANY ('%string%', '%string%'), is equivalent to:
expression LIKE ('%string%') OR expression LIKE ('%string%')

When dragging an Any operator into a variable, the following tree element is created.

Variable Creation > Input > Variables: SQL Elements pane - Logical > Any

Any number of Columns and/or other expressions can be moved into the Expressions folder within the tree.

There are no special properties for the Any operator.