Ora-904 When Referencing A Function In Dbms_fga.Add_policy Audit_condition
(Doc ID 561319.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version: 18.104.22.168 to 22.214.171.124 - Release: 9.2 to 11.2
Information in this document applies to any platform.
You are getting an error ORA-904 "invalid identifier" after you have added an FGA policy like this
object_schema => 'SCOTT',
object_name => 'EMP',
policy_name => 'FGA_EMP',
audit_condition => 'SYSTEM.SEC_FUNCTION = 1'
select * from scott.emp
ORA-904: invalid identifier.
The user "blake" can execute: select 'SYSTEM.SEC_FUNCTION from dual; and it reports 0 or 1.
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