My Oracle Support Banner

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: to - 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'

connect blake/blake

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.