16.20 - Example: Casting a Numeric Integer Expression - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

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

This example casts the numeric integer expression named IntegerField to DECIMAL(7,2).

CAST (IntegerField AS DECIMAL (7,2))