My Oracle Support Banner

SQL Comments /* ..... */ not showing on DBA_AUDIT_TRAIL.SQL_TEXT when the statement is executed in PL/SQL units (Doc ID 2812753.1)

Last updated on OCTOBER 22, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Information in this document applies to any platform.


When including comments using /* ... */ in statements executed from within a PL/SQL unit, and these statements are being audited, the comments are not shown in the DBA_AUDIT_TRAIL view:

Is there a way to have these comments show up in the DBA_AUDIT_TRAIL view?


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.