DROP CUSTOM_CLASSIFIER

Fully qualified name: SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER

Drops a custom classification instance in the current or specified schema.

See also:

Using custom classifiers for sensitive data classification

Syntax

DROP SNOWFLAKE.DATA_PRIVACY.CUSTOM_CLASSIFIER
[ IF EXISTS ] <custom_classifier_name>
Copy

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 SQL command 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;
Copy
Language: English