ANSI Compliance
This statement is a Teradata extension to the ANSI SQL:2011 standard.
Syntax
numeric_expression ( [ data_attribute, [...] ] character_data_type [, { data_attribute | CHARACTER SET server_character_set } [,...] ] )
Syntax Elements
- numeric_expression
- The numeric data expression to be cast to a character type.
- data_attribute
- One of the following data attributes:
- FORMAT
- NAMED
- TITLE
- character_data_type
The data type to which the expression is to be converted.
If character_data_definition does not specify a CHARACTER SET clause to indicate which server character set to use, the user default server character set is used.
- server_character_set
The server character set to use for the conversion. If the CHARACTER SET clause is omitted, the user default server character set is used.