DROP RESOURCE MONITOR
statementsupportedAccounts, users, sessions, warehousesRemoves the specified resource monitor from the system.
Syntax
supportedpartialnot supportednot scored
DROP RESOURCE MONITOR [ IF EXISTS ] <name>
Parameters
| Name | Required | Description |
|---|---|---|
name | Specifies the identifier for the resource monitor to drop. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. |
Usage notes
- Dropped resource monitors cannot be recovered; they must be recreated.
- Dropping a resource monitor immediately enables resuming any assigned warehouses that have been suspended due to the monitor reaching its monthly threshold. For more information, see Working with resource monitors.
- When the IF EXISTS clause is specified and the target object doesn’t exist, the command completes successfully without returning an error.