OCT() FUNCTION in MySQL
OCT() FUNCTION The MySQL OCT function is used to get the octal value of the specified number. Syntax: OCT (number); Parameters: number: It is used to specify the number to evaluate. Example: mysql> SELECT OCT (12); Output: 14 Explanation: The result is the octal value of 12.