Converts a character data string to a numeric value.
CAST Syntax
CAST ( character_expression AS numeric_data_type [ data_attribute [...] ] )
- 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