DELETE_QUERY_MONITOR
Stored procedure DELETE_QUERY_MONITOR
is a Snowflake SQL stored procedure that is used to construct a query monitor object.
This procedure is defined in the database SUNDECK
(database where Snowflake NativeApp is installed) schema ADMIN
.
ACCOUNTADMIN privilege is required to run this stored procedure.
DELETE_QUERY_MONITOR(<name>)
<name>
- string that represents query monitor name.
NULL
- if a query monitor was successfully deleted.
<error>
- error message text in the case of failure to delete a query monitor.
kai#COMPUTE_WH@SUNDECK.(no schema)>call ADMIN.DELETE_QUERY_MONITOR('cancel_all_insert_queries');
+----------------------+
| DELETE_QUERY_MONITOR |
|----------------------|
| NULL |
+----------------------+
1 Row(s) produced.
kai#COMPUTE_WH@SUNDECK.(no schema)>call ADMIN.DELETE_QUERY_MONITOR(NULL);
+-----------------------+
| DELETE_QUERY_MONITOR |
|-----------------------|
| Name must not be null |
+-----------------------+
1 Row(s) produced.