This commit is contained in:
Anna 2020-12-21 11:30:02 +03:00
parent 7f675aacbe
commit 982123a994
2 changed files with 0 additions and 28 deletions

View File

@ -42,20 +42,6 @@ This approach allows us to complete the `ALTER` query instantly, without increas
Example:
``` sql
DESC alter_test FORMAT TSV;
```
``` text
CounterID UInt32
StartDate Date
UserID UInt32
VisitID UInt32
NestedColumn.A Array(UInt8)
NestedColumn.S Array(String)
ToDrop UInt32
```
``` sql
ALTER TABLE alter_test ADD COLUMN Added1 UInt32 FIRST;
ALTER TABLE alter_test ADD COLUMN Added2 UInt32 AFTER NestedColumn;

View File

@ -31,20 +31,6 @@ ADD COLUMN [IF NOT EXISTS] name [type] [default_expr] [codec] [AFTER name_after
Пример:
``` sql
DESC alter_test FORMAT TSV;
```
``` text
CounterID UInt32
StartDate Date
UserID UInt32
VisitID UInt32
NestedColumn.A Array(UInt8)
NestedColumn.S Array(String)
ToDrop UInt32
```
``` sql
ALTER TABLE alter_test ADD COLUMN Added1 UInt32 FIRST;
ALTER TABLE alter_test ADD COLUMN Added2 UInt32 AFTER NestedColumn;