C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
| MySQL HEX(str), HEX(N) FunctionHex() is a Sring function of MySQL. This method return in hexadecimal string of given number or String. Syntax
 select hex(S or N) Example 1
 
Select hex('a');
Output:   Example 2
 
Select hex('b');
Output:   Example 3
Select hex('c');
Output:   
Next TopicMySQL String
 |