scalar-extension

ascii

Return the code of the first character; UTF-8 uses Unicode code points.

Formal Syntax & Structure

sql syntaxsql
ascii(string text)

Working Example

Example Snippetsql
SELECT ascii('A');
SQL Reference