ORA-28081: Insufficient privileges - the command references a redacted object Error While Inserting Into a Table With Redaction Policy Created
(Doc ID 2696061.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
SQL> insert into <Table name> select * from <Table with Redaction policy>;
insert into <Table name> select * from <Table with Redaction policy>
*
ERROR at line 1:
ORA-28081: Insufficient privileges - the command references a redacted object.
Changes
A redaction policy has been created on the table column that is referred in the the sub query of the failing CTAS (Insert from select) command
insert into <Table name> select * from <Table with Redaction policy>;
<Table with Redaction policy> -- This table did not have redaction policy earlier but now has the redaction policy created.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |