USE WAREHOUSE

statementsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

Specifies the active/current virtual warehouse for the session. You must specify a warehouse for a session, and the warehouse must be running before you can execute queries and DML statements in the session. To view the current warehouse for a session, call the CURRENT_WAREHOUSE context function.

Syntax

USE WAREHOUSE <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the warehouse 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.

See also