Syntax
OCT(N)
Purpose
You can call this function to return the octal value of a numeric value N. This function is equivalent to the CONV(N,10,8) function.
If N is NULL, NULL is returned.
Examples
obclient> SELECT OCT(12);
+---------+
OCT(12)
+---------+
14
+---------+
1 row in set (0.00 sec)