Teradata Numeric-to-Character Conversion Syntax | Teradata Vantage - Teradata Numeric-to-Character Conversion Syntax - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.