ASCII

Purpose

This function returns the numeric value of character in the ASCII character set.

Syntax

ascii::=

ASCII

Usage Note

If the character is not ASCII character, then an exception is thrown.

Example

SELECT ASCII('X');