My Oracle Support Banner

How to Retrieve the Whole Audited SQL Statement From DBA_FGA_AUDIT_TRAIL View ? (Doc ID 277219.1)

Last updated on APRIL 03, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud 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
Information in this document applies to any platform.


 The DBA_FGA_AUDIT_TRAIL.SQL_TEXT column is created with NVARCHAR2(2000) datatype.

How to get the complete text of SQL statements being audited in DBA_FGA_AUDIT_TRAIL view that are longer than 2000 characters ?


To view full details, 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 a vibrant support community of peers and Oracle experts.