April 2008
Intermediate to advanced
566 pages
21h 55m
English
OCT()
OCT(number)This function returns the octal, or base 8, numeric system value of the given number. It returns NULL if the argument is NULL. Here is an example:
SELECT OCT(1), OCT(9), OCT(16); +--------+--------+---------+ | OCT(8) | OCT(9) | OCT(16) | +--------+--------+---------+ | 10 | 11 | 20 | +--------+--------+---------+
Read now
Unlock full access