> ## 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.

> Documentación para CREATE NAMED COLLECTION

# CREATE NAMED COLLECTION

Crea una nueva colección con nombre.

<Note>
  Las colecciones con nombre creadas mediante DDL se pueden habilitar en determinados servicios de ClickHouse Cloud. Contacte con Support para confirmar la disponibilidad.
</Note>

**Sintaxis**

```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],
...
```

**Ejemplo**

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

**Sentencias relacionadas**

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

**Véase también**

* [Guía sobre colecciones con nombre](/es/concepts/features/configuration/server-config/named-collections)

**Parte de:** `CREATE`
