My Oracle Support Banner

Calling Dbms_metadata.Get_ddl From Stored Procedure Results In Ora-31603 (Doc ID 463483.1)

Last updated on MARCH 06, 2019

Applies to:

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

Symptoms

Calling dbms_metadata.get_ddl from a stored procedure to get the DDL of an object in another schema raises the following error:


Calling the dbms_metadata.get_ddl directly from sql*plus on the same object works fine.

Cause

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
Symptoms
Cause
Solution
References

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