FGA Audit Policies Initially Prevent MV Creation ORA-12018 ORA-00904
(Doc ID 1924956.1)
Last updated on JULY 01, 2021
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
On : 220.127.116.11 version, Database Security
When attempting to create an MV on a Primary table which has an Audit FGA policy
the following error occurs.
ORA-12018: following error encountered during code generation for "<SCHEMA_NAME>"."XXXX_XXXX_XX_XXXXX"
ORA-00904: : invalid identifier
The issue can be reproduced at will with the following steps:
1. Create an FGA policy using the package dbms_fga
2. create an MV on the table
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