Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> problems with dbms_metadata

problems with dbms_metadata

From: Ecce Nihil <sct_at_picknowl.com.au>
Date: 19 Jun 2003 22:36:13 -0700
Message-ID: <96ce817c.0306192136.3dd4a77e@posting.google.com>


I'm having problems using dbms_metadata.get_ddl. I have a table called agreements with the following entry out of user_objects...

select OBJECT_NAME,OBJECT_TYPE,STATUS from user_objects where object_name='AGREEMENTS';

OBJECT_NAME OBJECT_TYPE STATUS

-------------- ------------------ -------
AGREEMENTS     TABLE              VALID

Then I execute...

select dbms_metadata.get_ddl('TABLE','AGREEMENTS') from dual

and get...

ORA-31603: object "AGREEMENTS" of type TABLE not found in schema "MY_SCHEMA" Any ideas?

thanks Received on Fri Jun 20 2003 - 00:36:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US