MySQL Forums
Forum List  »  Docs

The syntax of 'RANGE COLUMNS' in 22.2.3.1 RANGE COLUMNS partitioning is wrong
Posted by: Eleven Code
Date: June 15, 2021 12:48AM

I found the syntax of `RANGE COLUMNS` in RANGE COLUMNS(https://dev.mysql.com/doc/refman/5.7/en/partitioning-columns-range.html) is wrong.
Wrong syntax show here:

```sql
CREATE TABLE table_name
PARTITIONED BY RANGE COLUMNS(column_list) (
PARTITION partition_name VALUES LESS THAN (value_list)[,
PARTITION partition_name VALUES LESS THAN (value_list)][,
...]
)

column_list:
column_name[, column_name][, ...]

value_list:
value[, value][, ...]
```

It should be `PARTITION BY` NOT `PARTITIONED BY` 。
There is also this problem of the mysql8.0 documentation

Options: ReplyQuote


Subject
Views
Written By
Posted
The syntax of 'RANGE COLUMNS' in 22.2.3.1 RANGE COLUMNS partitioning is wrong
417
June 15, 2021 12:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.