Skip to content
February 10, 2017 / doganay

ORA-31603: object “SP1” of type PROCEDURE not found in schema “USER1”

add:
Use uppercase, not lowercase.

Mustafa DOGANAY's Blog


Problem:

SQL> select dbms_metadata.get_ddl('PROCEDURE','SP1','USER1') from dual;
ERROR:
ORA-31603: object "SP1" of type PROCEDURE not found in schema "USER1"
ORA-06512: at "SYS.DBMS_METADATA", line 5805
ORA-06512: at "SYS.DBMS_METADATA", line 8344
ORA-06512: at line 1


Solution:

Use uppercase, not lowercase.

AND

grant select_catalog_role to user1;

View original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: