Example: Implicit Type Conversion During Comparison - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantageā„¢ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

Consider the table T1 in Example: Implicit Type Conversion During Assignment.

In the following statement, Teradata Database implicitly converts both operands of the comparison operation to FLOAT values before performing the comparison:

SELECT Fname, Fid
FROM T1
WHERE T1.Yrs < 55;