USE DATABASE | Snowflake Documentation (original) (raw)

Specifies the active/current database for the session:

See also:

CREATE DATABASE , ALTER DATABASE , DROP DATABASE , SHOW DATABASES

Syntax

Parameters

_name_

Specifies the identifier for the database to use for the session. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage notes

Examples