<classification_profile_name>!SET_AUTO_TAG¶
Specifies whether to enable auto-tagging for the instance of the CLASSIFICATION_PROFILE class.
Syntax¶
<classification_profile_name>!SET_AUTO_TAG( <boolean_value> )
Arguments¶
boolean_value
Specifies whether to enable auto-tagging for the instance of the CLASSIFICATION_PROFILE class.
TRUE enables auto-tagging.
FALSE disables auto-tagging.
Default: FALSE
Access control requirements¶
A role used to execute this SQL command must have the following privileges at a minimum:
Instance role |
Object |
Notes |
---|---|---|
|
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. |
The USAGE privilege on the parent database and schema are required to perform operations on any object in a 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¶
Enable auto-tagging for the classification profile:
CALL my_classification_profile!SET_AUTO_TAG(true);
Disable auto-tagging for classification profile:
CALL my_classification_profile!SET_AUTO_TAG(false);