Which command sets the Virtual Warehouse for a session?
A.
COPY WAREHOUSE FROM < < config file > > ;
B.
SET WAREHOUSE = < < warehouse name > > ;
C.
USE WAREHOUSE < < warehouse name > > ;
D.
USE VIRTUAL_WAREHOUSE < < warehouse name > > ;
The Answer Is:
C
This question includes an explanation.
Explanation:
The command USE WAREHOUSE < < warehouse name > > ; is used to set the virtual warehouse for the current session in Snowflake. This command specifies which virtual warehouse to use for executing queries in that session1.