Returning Integer Unicode Values : UNICODE function « String Functions « SQL Server / T-SQL Tutorial






4>
5> SELECT UNICODE('G'), UNICODE('o'), UNICODE('o'), UNICODE('d'), UNICODE('!')
6> GO

----------- ----------- ----------- ----------- -----------
         71         111         111         100          33

(1 rows affected)








12.23.UNICODE function
12.23.1.UNICODE Returns the integer Unicode value of a single leftmost character in a string
12.23.2.Returning Integer Unicode Values