SQL Server/T-SQL/String Functions/NCHAR

Материал из SQL эксперт
Перейти к: навигация, поиск

NCHAR: Returns a Unicode character representing the number passed as a parameter

1> -- NCHAR: Returns a Unicode character representing the number passed as a parameter.
2>
3> SELECT NCHAR(105)
4>
5> GO
-
i
(1 rows affected)
1>



NCHAR: To return extended characters

-- To return extended characters, I"ll execute the NCHAR() function with sample 
-- character codes:
SELECT NCHAR(220)
GO
SELECT NCHAR(233)
GO
SELECT NCHAR(241)
GO