<classification_profile_name>!SET_MAXIMUM_CLASSIFICATION_VALIDITY_DAYS

Specifies the maximum number of days to wait before a table is eligible to be automatically classified for an instance of the CLASSIFICATION_PROFILE class.

Syntax

<classification_profile_name>!SET_MAXIMUM_CLASSIFICATION_VALIDITY_DAYS( <days> )
Copy

Arguments

days

Specifies the number of days since the last classification event before a table can be classified again using automatic classification.

The value must be greater than 0.

Access control requirements

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

Instance role

Object

Notes

classification_profile!PRIVACY_USER

The 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.

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

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.

Examples

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);
Copy