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 JULY 20, 2024

Applies to:

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

Goal

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?

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!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.