Complete the code to select a warehouse for running a query.
USE WAREHOUSE [1];The USE WAREHOUSE command sets the active warehouse. Here, DATA_WH is the correct warehouse name to select.
Complete the code to create a warehouse with a specific size.
CREATE WAREHOUSE my_wh WAREHOUSE_SIZE = '[1]';
The WAREHOUSE_SIZE parameter defines the size of the warehouse. MEDIUM is a valid size option.
Fix the error in the warehouse auto-suspend configuration.
ALTER WAREHOUSE my_wh SET AUTO_SUSPEND = [1];The AUTO_SUSPEND parameter expects an integer number of seconds. The correct value is 300 without quotes.
Fill both blanks to create a warehouse with multi-cluster enabled and set minimum clusters.
CREATE WAREHOUSE multi_wh [1] = TRUE MIN_CLUSTER_COUNT = [2];
MULTI_CLUSTER_WAREHOUSE enables multi-cluster warehouses. MIN_CLUSTER_COUNT sets the minimum number of clusters.
Fill all three blanks to alter a warehouse to set auto-resume, size, and max clusters.
ALTER WAREHOUSE my_wh SET AUTO_RESUME = [1], WAREHOUSE_SIZE = '[2]', MAX_CLUSTER_COUNT = [3];
AUTO_RESUME should be set to TRUE to resume automatically. WAREHOUSE_SIZE is set to LARGE. MAX_CLUSTER_COUNT is set to 5 to limit clusters.