bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server NCHAR() Function

Concept visual

SQL Server NCHAR() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the Unicode character based on the number code 65:

SELECT NCHAR(65) AS NumberCodeToUnicode;

Definition and Usage

The NCHAR() function returns the Unicode character based on the number code.

Syntax

Nchar(

number_code )

Parameter Values

Parameter

Description number_code

Required. The number code in the Unicode standard to return the character for

Technical Details

Works in:

SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

Previous

❮ SQL Server Functions

Next

Previous

SQL Server LTRIM() Function

Next

SQL Server PATINDEX() Function