# SQL Modes

Dolt supports a subset of [SQL modes that MySQL supports](https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html). SQL modes are added upon request, so please [file an issue](https://github.com/dolthub/dolt/issues) if a SQL mode you need is missing.

**Currently supporting 4 of 18 MySQL SQL Modes.**

| Mode                         | Supported | Notes and limitations  |
| ---------------------------- | --------- | ---------------------- |
| `ALLOW_INVALID_DATES`        | ❌         |                        |
| `ANSI_QUOTES`                | ✅         |                        |
| `ERROR_FOR_DIVISION_BY_ZERO` | ❌         |                        |
| `HIGH_NOT_PRECEDENCE`        | ❌         |                        |
| `IGNORE_SPACE`               | ❌         |                        |
| `NO_AUTO_VALUE_ON_ZERO`      | ✅         |                        |
| `NO_BACKSLASH_ESCAPES`       | ❌         |                        |
| `NO_DIR_IN_CREATE`           | ❌         |                        |
| `NO_ENGINE_SUBSTITUION`      | ❌         |                        |
| `NO_UNSIGNED_SUBTRACTION`    | ❌         |                        |
| `NO_ZERO_IN_DATE`            | ❌         |                        |
| `ONLY_FULL_GROUP_BY`         | ✅         |                        |
| `PAD_CHAR_TO_FULL_LENGTH`    | ❌         |                        |
| `PIPES_AS_CONCAT`            | ✅         |                        |
| `REAL_AS_FLOAT`              | ❌         |                        |
| `STRICT_ALL_TABLES`          | 🟠        | Partial implementation |
| `STRICT_TRANS_TABLES`        | 🟠        | Partial implementation |
| `TIME_TRUNCATE_FRACTIONAL`   | ❌         |                        |
| `ANSI`                       | 🟠        | Partial implementation |
| `TRADITIONAL`                | 🟠        | Partial implementation |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dolthub.com/sql-reference/sql-support/sql-modes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
