Shortens or expands output character strings.
CAST Syntax
CAST ( character_expression AS { character_data_type [ data_attribute [...] ] | data_attribute [...] } )
- character_expression
-
A character expression to be converted.
- character_data_type
-
The data type to which the expression is to be converted.
- data_attribute
- One of the following data attributes:
- CHARACTER SET
- FORMAT
- NAMED
- TITLE