- Release Notes
- Getting Started
- Tutorials, Videos & Other Resources
- Introduction to Snowflake
- Connecting to Snowflake
- Managing Snowflake
- Using Snowflake
- General Reference
- SQL Command Reference
- Function Reference
- Alphabetical List of All Functions
- Bitwise Expression Functions
- Conditional Expression Functions
- Context Functions
- Numeric Functions
- String & Binary Functions
- Regular Expression (String) Functions
- Date & Time Functions
- Semi-structured Data Functions
- Conversion Functions
- Aggregate Functions
- Window/Analytic Functions
- Miscellaneous Functions
Database, Schema, & Share DDL¶
Databases and schemas are used to organize data stored in Snowflake:
- A database is a logical grouping of schemas. Each database belongs to a single Snowflake account.
- A schema is a logical grouping of database objects (tables, views, etc.). Each schema belongs to a single database.
Together, a database and schema comprise a namespace in Snowflake. When performing any operations on database objects in Snowflake, the namespace is inferred from the current database and schema in use for the session. If a database and schema are not in use for the session, the namespace must be explicitly specified when performing any operations on the objects.
In addition to databases and schemas, Snowflake provides DDL for creating and managing shares. A share specifies a set of objects in a database to share with one or more accounts.