Mysql string Functions


Download 369.29 Kb.
bet8/8
Sana14.12.2022
Hajmi369.29 Kb.
#1001659
1   2   3   4   5   6   7   8
Bog'liq
MySQL String Functions

UNHEX()


MySQL UNHEX() function performs the opposite operation of HEX(). This function interprets each pair of hexadecimal digits (in the argument) as a number and converts it to a character.
Example : SELECT UNHEX('4D7953514C');
Syntax : UNHEX(str)
Output : MySQL
Example : SELECT UNHEX(HEX('MySQL'));
Output : MySQL

UPPER()


MySQL UPPER() converts all the characters in a string to uppercase characters.
Example : SELECT UPPER('myteststring');
Syntax : UPPER(str)
Output : MYTESTSTRING
Thank you for your Time and Attention!
Download 369.29 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling