DROP REDACTION POLICY
Function
DROP REDACTION POLICY deletes a data redaction policy of a specified table.
Precautions
Only the table owner and users granted the gs_redaction_policy preset role have the permission to delete data redaction policies.
Syntax
1
|
DROP REDACTION POLICY [ IF EXISTS ] policy_name ON table_name; |
Parameter Description
|
Parameter |
Description |
Value Range |
|---|---|---|
|
IF EXISTS |
Sends a notice instead of throwing an error if there is no redaction policies to be deleted. |
- |
|
policy_name |
Specifies the name of the redaction policy to be deleted. |
An existing name of the redaction policy |
|
table_name |
Specifies the name of the table to which the redaction policy is applied. |
An existing name of the table to which the redaction policy is applied. |
Examples
Delete the masking policy mask_emp from table emp:
1
|
DROP REDACTION POLICY mask_emp ON emp; |
Helpful Links
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot