Skip to content

Commit f86665d

Browse files
committed
Update interval.md
1 parent e184e89 commit f86665d

File tree

1 file changed

+1
-0
lines changed
  • docs/en/sql-reference/00-sql-reference/10-data-types

1 file changed

+1
-0
lines changed

docs/en/sql-reference/00-sql-reference/10-data-types/interval.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The INTERVAL data type represents a duration of time, allowing precise manipulat
1111
- Supports units including `Millennium`, `Century`, `Decade`, `Year`, `Quarter`, `Month`, `Week`, `Day`, `Hour`, `Minute`, `Second`, `Millisecond`, and `Microsecond`.
1212
- Accepts natural language formats (e.g., '1 year 2 months ago') or numeric values interpreted as microseconds.
1313
- Handles both positive and negative intervals with precision down to microseconds.
14+
- INTERVAL columns are *not* supported in the ORDER BY clause.
1415
- It is *not* recommended to use the MySQL client to query INTERVAL columns in Databend, as the MySQL protocol does not fully support the INTERVAL type. This may result in errors or unexpected behavior.
1516

1617
```sql title='Examples:'

0 commit comments

Comments
 (0)