mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Merge pull request #19023 from sevirov/sevirov-DOCSUP-4966-add_multiword_data_types
DOCSUP-4966: Add some multiword data types
This commit is contained in:
commit
0ef00bc4a6
29
docs/en/sql-reference/data-types/multiword-types.md
Normal file
29
docs/en/sql-reference/data-types/multiword-types.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
toc_priority: 61
|
||||||
|
toc_title: Multiword Type Names
|
||||||
|
---
|
||||||
|
|
||||||
|
# Multiword Types {#multiword-types}
|
||||||
|
|
||||||
|
When creating tables, you can use data types with a name consisting of several words. This is implemented for better SQL compatibility.
|
||||||
|
|
||||||
|
## Multiword Types Support {#multiword-types-support}
|
||||||
|
|
||||||
|
| Multiword types | Simple types |
|
||||||
|
|----------------------------------|--------------------------------------------------------------|
|
||||||
|
| DOUBLE PRECISION | [Float64](../../sql-reference/data-types/float.md) |
|
||||||
|
| CHAR LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHARACTER LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHARACTER VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NCHAR LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NCHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHAR | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| BINARY LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| BINARY VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
|
||||||
|
[Original article](https://clickhouse.tech/docs/en/sql-reference/data-types/multiword-types/) <!--hide-->
|
29
docs/ru/sql-reference/data-types/multiword-types.md
Normal file
29
docs/ru/sql-reference/data-types/multiword-types.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
toc_priority: 61
|
||||||
|
toc_title: Составные типы
|
||||||
|
---
|
||||||
|
|
||||||
|
# Составные типы {#multiword-types}
|
||||||
|
|
||||||
|
При создании таблиц вы можете использовать типы данных с названием, состоящим из нескольких слов. Такие названия поддерживаются для лучшей совместимости с SQL.
|
||||||
|
|
||||||
|
## Поддержка составных типов {#multiword-types-support}
|
||||||
|
|
||||||
|
| Составные типы | Обычные типы |
|
||||||
|
|-------------------------------------|-----------------------------------------------------------|
|
||||||
|
| DOUBLE PRECISION | [Float64](../../sql-reference/data-types/float.md) |
|
||||||
|
| CHAR LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHARACTER LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| CHARACTER VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NCHAR LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NCHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHAR VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHARACTER | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| NATIONAL CHAR | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| BINARY LARGE OBJECT | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
| BINARY VARYING | [String](../../sql-reference/data-types/string.md) |
|
||||||
|
|
||||||
|
[Оригинальная статья](https://clickhouse.tech/docs/ru/sql-reference/data-types/multiword-types/) <!--hide-->
|
Loading…
Reference in New Issue
Block a user