How to get full sql text statement from v$sql (Doc ID 437304.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.

Goal

The following article outlines how to extract the full sql text for a statement when sql_text does not display the full text. Note that only 4000 characters can be extracted in this manner.

Solution

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 hundreds of Community platforms