Get Character Unicode Values : nchar function « String Functions « SQL Server / T-SQL Tutorial






3>
4> SELECT NCHAR(71), NCHAR(111), NCHAR(111), NCHAR(100), NCHAR(33)
5> GO

- - - - -
G o o d !

(1 rows affected)
1>








12.10.nchar function
12.10.1.The NCHAR() function takes a positive integer between 0 and 65,535 and returns a datatype of nchar(1) with the corresponding Unicode character.
12.10.2.NCHAR Returns a Unicode character representing the number passed as a parameter.
12.10.3.Get Character Unicode Values