> 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/integer.md).

# INTEGER

## Syntax

```bnf
INTEGER[(M)] [SIGNED | UNSIGNED | ZEROFILL]
```

## Description

This type is a synonym for [INT](/docs/server/reference/data-types/numeric-data-types/int.md).

## EXAMPLES

```sql
CREATE TABLE integer_example (
  example INTEGER
);
```

```sql
SHOW CREATE TABLE integer_example\G

*************************** 1. row ***************************
       Table: integer_example
Create Table: CREATE TABLE `integer_example` (
  `example` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
```

<sub>*This page is licensed: GPLv2, originally from*</sub> [<sub>*fill\_help\_tables.sql*</sub>](https://github.com/MariaDB/server/blob/main/scripts/fill_help_tables.sql)

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