> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-vortex-format.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Documentação sobre CREATE NAMED COLLECTION

# CREATE NAMED COLLECTION

Cria uma nova coleção nomeada.

<Note>
  Coleções nomeadas criadas por DDL podem ser habilitadas em alguns serviços do ClickHouse Cloud. Entre em contato com o Suporte para confirmar a disponibilidade.
</Note>

**Sintaxe**

```sql theme={null}
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],
...
```

**Exemplo**

```sql theme={null}
CREATE NAMED COLLECTION foobar AS a = '1', b = '2' OVERRIDABLE;
```

**Instruções relacionadas**

* [CREATE NAMED COLLECTION](/pt-BR/reference/statements/alter/named-collection)
* [DROP NAMED COLLECTION](/pt-BR/reference/statements/drop#drop-function)

**Veja também**

* [Guia de coleções nomeadas](/pt-BR/concepts/features/configuration/server-config/named-collections)

**Parte de:** `CREATE`
