Oracle Error ORA-28064: The redaction function is not valid.

Oracle Error Message

ORA-28064: The redaction function is not valid.

Reason for the Error

The FUNCTION_TYPE parameter to DBMS_REDACT.ADD_POLICY was invalid.

Solution

Specify the FUNCTION_TYPE parameter to DBMS_REDACT.ADD_POLICY as one of the following: DBMS_REDACT.NONE, DBMS_REDACT.FULL, DBMS_REDACT.RANDOM, DBMS_REDACT.PARTIAL, DBMS_REDACT.REGEXP, or NULL. Note that only full redaction may be applied to columns of type BLOB, CLOB, or NCLOB.