> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CREATE SCHEMA

<a id="sql-create-schema" />

[Schemas](/content/concepts/schemas) are logical containers for all
database objects (*tables*, *views*, etc.).  In order to place an object in a
*schema*, the *schema* must be created first--*schemas* will not be
automatically created when specified in `CREATE TABLE` or similar calls.

```sql title="CREATE SCHEMA Syntax" theme={null}
CREATE SCHEMA [IF NOT EXISTS] <schema name>
```

## Parameters

<AccordionGroup>
  <Accordion title="IF NOT EXISTS" id="if-not-exists" defaultOpen>
    Optional error suppression clause, which causes no error to be returned if a *schema* with the
    same name already exists
  </Accordion>

  <Accordion title="<schema name>" id="<schema-name>" defaultOpen>
    Name of the *schema* to create; must adhere to the supported
    [naming criteria](/content/sql/naming#sql-naming-criteria)
  </Accordion>
</AccordionGroup>

## Examples

```sql CREATE SCHEMA Example theme={null}
CREATE SCHEMA example_container
```
