FGA Audit Policies Initially Prevent MV Creation ORA-12018 ORA-00904 (Doc ID 1924956.1)

Last updated on OCTOBER 22, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, Database Security

When attempting to create an MV on a master table which has an Audit FGA policy
the following error occurs.

ERROR
-----------------------
ORA-12018: following error encountered during code generation for "CBH"."VW_CBH_ROL_ADDRESS"
ORA-00904: : invalid identifier


STEPS
-----------------------
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

Changes

 No Changes.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms