DROP CLASSIFICATION_PROFILE

完全限定名称 :SNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE

删除当前架构或指定架构中的分类配置文件实例。

语法

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

参数

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.

访问控制要求

A role used to execute this operation must have the following privileges at a minimum:

权限对象
OWNERSHIPSNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE 实例

Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent 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.

使用说明

删除的实例无法恢复;必须重新创建。

示例

删除分类配置文件实例:

DROP SNOWFLAKE.DATA_PRIVACY.CLASSIFICATION_PROFILE my_classification_profile;