USE WAREHOUSEΒΆ
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.
- See also:
SyntaxΒΆ
USE WAREHOUSE <name>
ParametersΒΆ
name
Specifies 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.
ExamplesΒΆ
USE WAREHOUSE mywarehouse;