OCT
Convert to octal. This function returns the octal string representation of a numeric argument.
Syntax
OCT(N)Description
Examples
SELECT OCT(34);
+---------+
| OCT(34) |
+---------+
| 42 |
+---------+
SELECT OCT(12);
+---------+
| OCT(12) |
+---------+
| 14 |
+---------+See Also
Last updated
Was this helpful?

