From 528dca0f6364dcd6e461401710832660f21fea8c Mon Sep 17 00:00:00 2001 From: ana-uvarova Date: Thu, 10 Dec 2020 11:13:09 +0300 Subject: [PATCH] order --- docs/en/sql-reference/statements/alter/column.md | 8 ++++---- docs/en/sql-reference/statements/alter/ttl.md | 12 ++++++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/en/sql-reference/statements/alter/column.md b/docs/en/sql-reference/statements/alter/column.md index 244ffeefafb..571d2205ff7 100644 --- a/docs/en/sql-reference/statements/alter/column.md +++ b/docs/en/sql-reference/statements/alter/column.md @@ -122,9 +122,9 @@ Example: ALTER TABLE visits MODIFY COLUMN browser Array(String) ``` -## ALTER TABLE MODIFY col_name REMOVE what_to_remove +## MODIFY REMOVE -Removes something from the specific column. +Removes something from a column. For example, ______ Syntax: @@ -146,8 +146,8 @@ Result ## See Also -- More about [ALTER](../../sql-reference/statements/alter/#query_language_queries_alter). -- More about [MODIFY column](../../sql-reference/statements/alter/column/#alter_modify-column). +- [ALTER](../../sql-reference/statements/alter/#query_language_queries_alter). +- [MODIFY column](../../sql-reference/statements/alter/column/#alter_modify-column). Changing the column type is the only complex action – it changes the contents of files with data. For large tables, this may take a long time. diff --git a/docs/en/sql-reference/statements/alter/ttl.md b/docs/en/sql-reference/statements/alter/ttl.md index 8c1aac4c91d..ad1a2fd56be 100644 --- a/docs/en/sql-reference/statements/alter/ttl.md +++ b/docs/en/sql-reference/statements/alter/ttl.md @@ -5,15 +5,17 @@ toc_title: TTL # Manipulations with Table TTL {#manipulations-with-table-ttl} +## MODIFY TTL {#modify-ttl} + You can change [table TTL](../../../engines/table-engines/mergetree-family/mergetree.md#mergetree-table-ttl) with a request of the following form: ``` sql ALTER TABLE table_name MODIFY TTL ttl_expression; ``` -## ALTER TABLE REMOVE TTL +## REMOVE TTL {remove-ttl} -Removes ttl-property from the specified column. +Removes TTL-property from the specified column. Syntax: @@ -23,6 +25,12 @@ ALTER TABLE table_name MODIFY column_name REMOVE TTL **Example** + + Request ```sql