<classification_profile_name>!SET_MINIMUM_OBJECT_AGE_FOR_CLASSIFICATION_DAYS

Specifies the minimum number of days an object must exist before it is eligible to be automatically classified by an instance of the CLASSIFICATION_PROFILE class.

Syntax

<classification_profile_name>!SET_MINIMUM_OBJECT_AGE_FOR_CLASSIFICATION_DAYS( <days> )
Copy

Arguments

days

Specifies the INTEGER number of days to wait before a table is eligible to be classified.

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 30 before a table can be automatically classified:

CALL my_classification_profile!SET_MINIMUM_OBJECT_AGE_FOR_CLASSIFICATION_DAYS(30);
Copy