bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server UNICODE() Function

Example

SELECT UNICODE('Atlanta');

Definition and Usage

The UNICODE() function returns an integer value (the Unicode value), for the first character of the input expression.

Syntax

UNICODE(
character_expression
)

Parameter Values

ParameterDescription
character_expressionRequired. An nchar or varchar expression

Technical Details

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

Previous

SQL Server TRIM() Function

Next

SQL Server UPPER() Function