Expanding the Text of a SQL Query Using the EXPAND_SQL_TEXT Procedure of DBMS_UTILITY (Doc ID 1953022.1)

Last updated on NOVEMBER 10, 2016

Applies to:

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

Goal

The DBMS_UTILITY.EXPAND_SQL_TEXT procedure allows you to expand an input SQL statement such that the resulting query text only contains references to underlying tables and is semantically equivalent. For details refer to:

Oracle Database Online Documentation 12c Release 1 (12.1)
Database Administration
Database PL/SQL Packages and Types Reference
174 DBMS_UTILITY
DBMS_UTILITY.EXPAND_SQL_TEXT

http://docs.oracle.com/database/121/ARPLS/d_util.htm#ARPLS73973

 

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