My Oracle Support Banner

Fine-Grained Auditing (FGA) Fails With ORA-28138 On MERGE (But Works On Other DML Operations) (Doc ID 2251369.1)

Last updated on FEBRUARY 23, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 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.


Fine-Grainted Auditing (FGA) with MERGE statements fail when the FGA audit_condition specifies a column which appears in both the merge target table and the merge source table.

A test case similar to the following should reproduce the error:



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.