16.20 - ASCII - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

Purpose

Returns the decimal representation of the first character in string_expr as a NUMBER value. The decimal representation will reflect the character set of the input string.

Syntax



TD_SYSFNLIB.
Name of the database where the function is located.
string_expr
A character string or string expression.
If string_expr is NULL, NULL is returned.