MySQL Tutorial/Math Numeric Functions/OCT

Материал из SQL эксперт
Перейти к: навигация, поиск

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

Returns NULL if N is NULL.



   <source lang="sql">

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