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 MAY 07, 2020

Applies to:

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

Goal

 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 ?

Solution

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.