mysql> select CONV(100,10,2); +----------------+ | CONV(100,10,2) | +----------------+ | 1100100 | +----------------+ 1 row in set (0.01 sec) mysql>