Declaring Auditing Categories With 'ON BEHALF OF' Clause Not Working With 'BY ACCESS' or 'BY SESSION'
(Doc ID 1357829.1)
Last updated on MARCH 22, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata 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.
While enabling auditing for a proxy user the following error occurs:
ORA-00933: SQL command not properly ended
Running the AUDIT statement with 'ON BEHALF OF' clause does not work with 'BY ACCESS'
or 'BY SESSION' clauses. When AUDIT is issued without 'BY ACCESS' or 'BY SESSION' clause, the actions are audited by session.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!