How To Use The Package DBMS_METADATA With SCHEMA_EXPORT To Extract DDLs Owned By Another User (Doc ID 556823.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.3 - Release: 10.1 to 11.2
Information in this document applies to any platform.
***Checked for relevance on 21-DEC-2011***

Goal

You have the following environment:

- USER_A is the owner of procedure that extracts DDLs
- USER_B is the schema you want to extract

This can be done with following steps. 

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