SQL Character number Online
Get code point of first character.
Run details
The output updates as you type. The tool processes input in your browser.
Worked example
Use a non-ASCII character to see why the byte, UTF-16 code unit, and Unicode code point can differ. Use PostgreSQL’s function reference to adapt the input to SQL syntax.
A
65
Using this operation in SQL
The interactive result uses JavaScript. Check the database dialect. PostgreSQL text functions use SQL-style one-based positions and LIKE uses its own pattern syntax.