SQL Server UNICODE() Function

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP







<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



SQL Server UNICODE() Function




❮ SQL Server Functions



Example


Return an integer value (the Unicode value), for the first character of the
input expression:



SELECT UNICODE('Atlanta');

Try it Yourself »


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





Parameter Description
character_expression Required. An nchar or varchar expression

Technical Details




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

More Examples




Example


Return an integer value (the Unicode value), for the first character of the
input expression:



SELECT UNICODE(CustomerName) AS UnicodeOfFirstChar
FROM Customers;

Try it Yourself »





❮ SQL Server Functions


Popular posts from this blog

Malaysia to Papua New Guinea by motorcycle?

List of Bhojpuri films

PHP code is not being executed, instead code shows on the page