SQL CHAR or CHR function is the opposite of ASCII. It converts an integer in range 0-255 into a ascii character. Here are syntaxes:
In this query, we convert 65 and 97 into ASCII character using SQL CHAR function:
Microsoft SQL Server, Sybase, and MySQL use CHAR() function while other RDBMSs use CHR function. You can take a look at the documentation to identify which one is used.