Creates a new schema in the current database. Schemas are logical namespaces that organize tables, views, and other database objects. Every database includes a default schema namedDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
public. You can create additional schemas to separate and organize objects by function, team, or access level.
Syntax
Parameters
| Parameter | Description |
|---|---|
IF NOT EXISTS | Prevents an error if a schema with the same name already exists. Without this clause, the statement fails if the schema already exists. |
<schema_name> | The name of the schema to create. Must be unique within the database. |
Examples
Create a schemaschema.object) when the database context is already set, or a three-part identifier (database.schema.object) to fully qualify the object across databases:
Related commands
- DROP SCHEMA - Delete a schema
- ALTER SCHEMA - Modify schema properties