Returns NULL if N is NULL. mysql>mysql> SELECT OCT(12);+---------+| OCT(12) |+---------+| 14 |+---------+1 row in set (0.00 sec)mysql>