16.20.16.20 - 16.20 - Character-to-Numeric Conversion - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Types and Literals

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

Purpose

Converts a character data string to a numeric value.

CAST Syntax



character_expression

A character expression to be converted.

numeric_data_type
The numeric type to which character_expression is to be converted.
data_attribute
One of the following data attributes:
  • FORMAT
  • NAMED
  • TITLE