3.17 Dropping an Oracle Data Redaction Policy
The DBMS_REDACT.DROP_POLICY
procedure drops Oracle Data Redaction policies.
You can drop an Oracle Data Redaction policy whether it is enabled or disabled. You can find the names of existing Data Redaction policies, by querying the
POLICY_NAME
column of the REDACTION_POLICIES
view. When you drop a table or view that is associated with an Oracle Data Redaction policy, the policy is automatically dropped. As a best practice, drop the policy first, and then drop the table or view afterward.
After you run the
DBMS_REDACT.DROP_POLICY
procedure, the drop takes effect immediately.