How To Get the DDL statement using DBMS_METADATA.GET_DDL For An Object Without Having The Object Owner In The DDL (Doc ID 1067292.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 26-Jun-2012***

Goal

How to generate a DDL statement for an object using DBMS_METADATA.GET_DDL function, but without having the schema owner prefix in the returned DDL statement?

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