DROP CUSTOM_CLASSIFIERÂļ
Fully qualified name: SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER
Drops a custom classification instance in the current or specified schema.
SyntaxÂļ
DROP SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER
[ IF EXISTS ] <custom_classifier_name>
ParametersÂļ
custom_classifier_name
Specifies the identifier (name) for the instance.
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.
For more information, see Identifier requirements.
ArgumentsÂļ
None.
Access control requirementsÂļ
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
---|---|
OWNERSHIP |
SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER instance |
The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema.
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage notesÂļ
Dropped instances cannot be recovered; they must be recreated.
ExamplesÂļ
DROP SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER data.classifiers.medical_codes;