SELECT HEX(CHAR(1,0,0)), HEX(CHAR(256*256)); : HEX : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » HEX »

 

SELECT HEX(CHAR(1,0,0)), HEX(CHAR(256*256));


mysql>
mysql>
mysql> SELECT HEX(CHAR(1,0,0)), HEX(CHAR(256*256));
+------------------+--------------------+
| HEX(CHAR(1,0,0)) | HEX(CHAR(256*256)) |
+------------------+--------------------+
010000           010000             |
+------------------+--------------------+
row in set (0.02 sec)

mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» HEX