# OCT(N)

## Function Description

The function ``OCT(N)`` returns a string of octal values of *N*, where *N* is a number of type longlong(BIGINT), that is, converting a number from a decimal digit base system to an octal digit base system.
If *N* is *NULL*, ``NULL`` is returned.

## Function Syntax

```text
> OCT(N)
```

## Parameter definition

| Parameters | Description |
| ---- | ---- |
| N | Required parameters. UINT Type |

## Example

```text
SELECT OCT(12);
+---------+
| oct(12) |
+---------+
| 14.0000 |
+---------+
1 row in set (0.00 sec)
```
