Retrieve the character associated with the ASCII code 65.
SELECT CHAR(65) AS CodeToCharacter; |
The CHAR() function retrieves a character based on its corresponding ASCII code.
CHAR(code) |
Parameter |
Description |
character |
Mandatory. Specifies the ASCII number code for which the corresponding character is returned. |
Works in: |
SQL Server (from 2008 onward), Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse |