Oracle Data Redaction and DML and DDL Operations

Oracle Data Redaction affects DML and DDL operations, especially for users who issue SQL against tables with redacted columns.

Note the following:

In the following examples, c1 does not have a redaction policy defined on it while c2 does.

Example 4-1 DML will result in ORA-28081 error

insert into t1(c1) select c2 from t2;
update t1 set c1 = (select c2 from t2);
delete from t1 where c1 in (select c2 from t2);

Example 4-2 DDL will result in ORA-28081 error

create table t3 as select * from t2;

Related Topics