OCT(N): Returns a string representation of the octal value of N : OCT « Math Numeric Functions « MySQL Tutorial






Returns NULL if N is NULL.

mysql>
mysql> SELECT OCT(12);
+---------+
| OCT(12) |
+---------+
| 14      |
+---------+
1 row in set (0.00 sec)

mysql>
mysql>








21.26.OCT
21.26.1.OCT(N): Returns a string representation of the octal value of N