SELECT CONV(6,10,2), CONV(10,10,2), BIN(8), BIN(10) : CONV « Function « SQL / MySQL






SELECT CONV(6,10,2), CONV(10,10,2), BIN(8), BIN(10)

      
mysql>
mysql> SELECT CONV(6,10,2), CONV(10,10,2), BIN(8), BIN(10);
+--------------+---------------+--------+---------+
| CONV(6,10,2) | CONV(10,10,2) | BIN(8) | BIN(10) |
+--------------+---------------+--------+---------+
| 110          | 1010          | 1000   | 1010    |
+--------------+---------------+--------+---------+
1 row in set (0.00 sec)

mysql>

   
    
    
    
    
    
  








Related examples in the same category

1.SELECT CONV(1001,2,10), CONV(111,2,10)