> 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/string-data-types/char-byte.md).

# CHAR BYTE

## Description

The `CHAR BYTE` data type is an alias for the [BINARY](/docs/server/reference/data-types/string-data-types/binary.md) data type. This is a compatibility feature.

## EXAMPLES

```sql
CREATE TABLE char_byte_example (
  example CHAR BYTE
);
```

```sql
SHOW CREATE TABLE char_byte_example\G
```

```sql
*************************** 1. row ***************************
       Table: char_byte_example
Create Table: CREATE TABLE `char_byte_example` (
  `example` binary(1) 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" %}
