HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Return an integer value (the Unicode value), for the first character of the input expression
The UNICODE() function returns an integer value (the Unicode value), for the first character of the input expression.
UNICODE(character_expression)
Parameter | Description |
---|---|
character_expression | Required. An nchar or varchar expression |
Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
Return an integer value (the Unicode value), for the first character of the input expression:
SELECT UNICODE(CustomerName) AS UnicodeOfFirstChar
FROM Customers;