Hi,
Sometimes You can get ” ora-28094: sql construct not supported by data redaction ” error.
Details of error are as follows.
ora-28094: sql construct not supported by data redaction with table2 AS ( Select concat(card_no,' ') from payment_details ) select * from table2;//This is giving 'ORA-28094: SQL construct not supported by data redaction' error with table2 AS ( Select sum(card_no) from payment_details ) select * from table2;//This is giving 'ORA-28094: SQL construct not supported by data redaction' error with table2 AS ( Select trim(card_no) from payment_details ) select * from table2;//This is giving 'ORA-28094: SQL construct not supported by data redaction' error
As per Bug 26577695 / bug 24340261, the ORA-28094 error raised in 12.2 is expected behavior. Because the query has construct “concat()” on a redacted column called from within a view is not supported by Data Redaction.
This change in behavior is caused by fix of Bug 22537972.
In future, we have plan to support such queries, for that please watch bug 24340261.
The current 12.2 behavior is expected behavior
There is another fix of bug 27697108 which doesn’t block the user with EXEMPT REDACTION POLICY system privilege.
Do you want to learn more details about Data Redaction in Oracle Database , read the following post.
https://ittutorial.org/data-redaction-in-oracle-database-2/
Do you want to learn more details about RMAN, then read the following articles.