CHAR: the reverse of the ASCII function as it changes a numeric value in to an ASCII character : CHAR « String Functions « SQL Server / T-SQL






CHAR: the reverse of the ASCII function as it changes a numeric value in to an ASCII character

1> --CHAR: the reverse of the ASCII function as it changes a numeric value in to an ASCII character.
2>
3> DECLARE @ASCII_VALUE INT
4> SET @ASCII_VALUE = 82
5> SELECT CHAR(@ASCII_VALUE)
6>
7> GO

-
R

(1 rows affected)
1>

           
       








Related examples in the same category

1.CHAR(CAST(0x3A as int))
2.CHAR(65): 65 is A