Purpose
This statement is used to drop a sensitive data protection rule.
Privilege requirements
To execute the DROP SENSITIVE RULE statement, the current user must have the CREATE SENSITIVE RULE privilege. For more information about OceanBase Database privileges, see Privilege classification in Oracle mode.
Syntax
DROP SENSITIVE RULE <rule_name>;
Parameters
The following table describes the parameters of the DROP SENSITIVE RULE statement.
| Parameter | Data type | Default value | Description | |--|--|--|--| | rule_name | VARCHAR2 | N/A | The name of the sensitive data protection rule. This value must be unique within the tenant. |
Considerations
- The rule is immediately dropped and becomes invalid.
Limitations and considerations
- Only one rule can be dropped at a time.
Examples
Here is an example:
-- Drop the sensitive data protection rule named r1.
DROP SENSITIVE RULE r1;
