hex intput nummysql> select hex(12);| hex(12) |+---------+| C |mysql> select hex(-1);+------------------+| hex(-1) |+------------------++------------------+