> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/data-types/numeric-data-types/number.md).

# NUMBER

```sql
NUMBER[(M[,D])] [SIGNED | UNSIGNED | ZEROFILL]
```

In [Oracle mode](/docs/release-notes/community-server/about/compatibility-and-differences/sql_modeoracle.md), `NUMBER` is a synonym for [DECIMAL](/docs/server/reference/data-types/numeric-data-types/decimal.md).

## EXAMPLES

Number\_Example

```sql
SET sql_mode='oracle';
```

```
CREATE TABLE number_example (
  example NUMBER
);
```

```sql
SHOW CREATE TABLE number_example\G
```

```sql
*************************** 1. row ***************************
       Table: number_example
Create Table: CREATE TABLE "number_example" (
  "example" double DEFAULT NULL
)
```

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
