OCT(N)
Description
This function OCT(N) returns a string representation of the octal value of N, where N is a longlong (BIGINT) number. Returns NULL if N is NULL.
Syntax
1. > OCT(N)
Arguments
| Arguments | Description |
|---|---|
| N | Required. UINT Type |
Examples
1. SELECT OCT(12);
2. +---------+
3. | oct(12) |
4. +---------+
5. | 14.0000 |
6. +---------+
7. 1 row in set (0.00 sec)
