mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
908 B
908 B
slug | sidebar_label |
---|---|
/en/sql-reference/statements/create/named-collection | NAMED COLLECTION |
import CloudNotSupportedBadge from '@theme/badges/CloudNotSupportedBadge';
CREATE NAMED COLLECTION
Creates a new named collection.
Syntax
CREATE NAMED COLLECTION [IF NOT EXISTS] name [ON CLUSTER cluster] AS
key_name1 = 'some value' [[NOT] OVERRIDABLE],
key_name2 = 'some value' [[NOT] OVERRIDABLE],
key_name3 = 'some value' [[NOT] OVERRIDABLE],
...
Example
CREATE NAMED COLLECTION foobar AS a = '1', b = '2' OVERRIDABLE;
Related statements
See Also