Which of the following commands sets the Virtual Warehouse for a session?
Which of the following commands sets the Virtual Warehouse for a session?
To set the Virtual Warehouse for a session in Snowflake, the correct command is 'USE WAREHOUSE <<warehouse name>>;'. This command specifies or changes the current warehouse for a session. The other options do not follow the correct syntax or functionality for setting a Virtual Warehouse in Snowflake.
USE WAREHOUSE <VWH>;
Answer is C. Example : use warehouse compute_wh;
The correct answer is C. According to snowflake docs, "A Snowflake session can only have one current warehouse at a time. The current warehouse for a session can be specified or changed at any time through the USE WAREHOUSE command."
C is correct
C. USE WAREHOUSE <<warehouse name>>;
Why NOT B?
C. USE WAREHOUSE <<warehouse name>>;
C.USE WAREHOUSE <<warehouse name>> . C is correct
USE WAREHOUSE <<warehouse name>> . C is correct
C. USE WAREHOUSE <<warehouse name>>;
C is correct
C is correct
Use Warehouse command.