MySQL Tutorial/Math Numeric Functions/OCT
OCT(N): Returns a string representation of the octal value of N
Returns NULL if N is NULL.
mysql>
mysql> SELECT OCT(12);
+---------+
| OCT(12) |
+---------+
| 14 |
+---------+
1 row in set (0.00 sec)
mysql>
mysql>