MySQL Tutorial/Math Numeric Functions/OCT

Материал из SQL эксперт
Версия от 12:49, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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>