<classification_profile_name>!SET_MAXIMUM_CLASSIFICATION_VALIDITY_DAYS

指定表有资格为 CLASSIFICATION_PROFILE 类实例自动分类之前等待的最大天数。

语法

<classification_profile_name>!SET_MAXIMUM_CLASSIFICATION_VALIDITY_DAYS( <days> )

实参

days

指定自上次分类事件发生到可以再次使用自动分类对表进行分类的天数。

The value must be greater than 0.

访问控制要求

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

Instance roleObjectNotes
classification_profile!PRIVACY_USERThe classification profile instance.The account role that calls this method must be granted this instance role on the classification profile. The role used to create the instance is automatically granted this instance role.

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.

使用说明

Calling this method does not return the object. Because of this, you can’t use method chaining to call another method on the return value of this method. Instead, call each method in a separate SQL statement.

示例

Set the minimum number of days to be 5 before a table can be automatically classified again:

CALL my_classification_profile!SET_MAXIMUM_CLASSIFICATION_VALIDITY_DAYS(5);