Documentation
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

ENABLE_WAREHOUSE_SCHEDULING

Stored procedure ENABLE_WAREHOUSE_SCHEDULING is a Snowflake stored procedure written in Python that is used to enable warehouse schedule. This procedure is defined in database SUNDECK (database where Snowflake NativeApp is installed) schema ADMIN.

ACCOUNTADMIN privilege is required to run this stored procedure.

See also:
CREATE_WAREHOUSE_SCHEDULE, UPDATE_WAREHOUSE_SCHEDULE, DELETE_WAREHOUSE_SCHEDULE, DISABLE_WAREHOUSE_SCHEDULING, RESET_WAREHOUSE_SCHEDULING

Syntax

ENABLE_WAREHOUSE_SCHEDULING(<warehouse_name>)

Arguments

<warehouse_name>
a string that represents warehouse name.

Returns

NULL
if schedule was successfully enabled.
<error>
error message string in the case of failure.

Example:

coral#COMPUTE_WH@SUNDECK.ADMIN>call ENABLE_WAREHOUSE_SCHEDULING('BATCH');
+-----------------------------+
| ENABLE_WAREHOUSE_SCHEDULING |
|-----------------------------|
| NULL                        |
+-----------------------------+
1 Row(s) produced.