跳到主要内容
跳到主要内容
Not supported in ClickHouse Cloud

CREATE NAMED COLLECTION

创建新的命名集合。

语法

CREATE NAMED COLLECTION [IF NOT EXISTS] name [ON CLUSTER cluster] AS
key_name1 = '某值' [[NOT] OVERRIDABLE],
key_name2 = '某值' [[NOT] OVERRIDABLE],
key_name3 = '某值' [[NOT] OVERRIDABLE],
...

示例

CREATE NAMED COLLECTION foobar AS a = '1', b = '2' 可覆盖;

相关语句

另请参阅