DROP CLASSIFICATION_PROFILE

Fully qualified name: SNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE

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

Syntax

DROP SNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE
  [ IF EXISTS ] <classification_profile_name>
Copy

Parameters

classification_profile_name

Specifies the identifier of the instance of the CLASSIFICATION_PROFILE class.

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.

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.CLASSIFICATION_PROFILE instance

Note that operating on any object in a schema also requires the USAGE privilege on the parent database and 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 the classification profile instance:

DROP SNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE my_classification_profile;
Copy