UNICODE() Function in SQL Server Last Updated : 28 Sep, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article, we are going to cover UNICODE() function where you will see the Unicode for given specific character or for expression character. UNICODE() : It is the function that gets the integer value for the first character of the input expression, as defined by the Unicode standard. Syntax : UNICODE(ncharacter_expression) Parameter : UNICODE function accepts a single parameter that means if you will give simply a character or you can give expression as input then it will read the first character and will return UNICODE for the same. ncharacter_expression : It is a nchar or nvarchar expression. Returns - UNICODE function will give you an integer value for the first character. It returns an integer value or the Unicode value, for the first character of the input expression. Example-1 : It will return the integer value of the first character of the input expression. SELECT UNICODE('MS Dhoni'); Output : 77 Example-2 : Using UNICODE function with table columns. Table -Player_Details PlayerIdPlayerNameCity45Rohit SharmaMumbai18Virat KohliBangalore7MS DhoniChennai42Sikhar DhawanDelhi SELECT UNICODE(PlayerName) AS UnicodeOfFirstChar, PlayerName FROM Player_Details; Output : UnicodeOfFirstCharPlayerName82Rohit Sharma86Virat Kohli77MS Dhoni83Sikhar Dhawan Comment More infoAdvertise with us Next Article SQRT() Function in SQL Server S sanjoy_62 Follow Improve Article Tags : SQL DBMS-SQL SQL-Server Similar Reads UPPER() function in SQL Server The UPPER() function in SQL Server is a useful tool for converting all characters in a string to uppercase. This function is essential for ensuring uniform text formatting and for performing case-insensitive comparisons.In this article, We will learn about the UPPER() function in SQL Server by under 3 min read YEAR() Function in SQL Server The YEAR() function in SQL Server is a powerful tool designed to extract the year component from a given date or datetime expression. It allows users to isolate the year as an integer value and facilitating various date-related operations and analyses.In this article, We will learn about the YEAR() 2 min read STR() Function in SQL Server The STR() function converts a numeric value to a character value. Syntax : STR(float_expression [, length [, decimal]]) Parameter : This method accepts three parameters as mentioned above and described below : float_expression : It is a numeric expression that evaluates to an approximate number with 1 min read SQRT() Function in SQL Server SQRT() function : This function in SQL Server is used to return the square root of a specified positive number. For example, if the specified number is 81, this function will return 9. Features : This function is used to find the square root of a given number. This function accepts only positive num 2 min read SOUNDEX() Function in SQL Server The SOUNDEX() function in SQL Server is a powerful tool for handling phonetic matching, which allows you to compare words based on their sound rather than their exact spelling. This can be particularly useful in applications like searching and data cleansing where names or words may have different s 3 min read LOG() Function in SQL Server The LOG() function returns the logarithm of a specified number or the logarithm of the number to the specified base. Syntax : LOG(number, base) Parameter : LOG() function accepts two-parameters as mentioned above and described below. number - This parameter hold a number which is greater than 0. bas 1 min read Like