Home » RDBMS Server » Server Administration » DBMS_METADATA.GET_DDL - How to install? Special privileges? Extract all user schema?
DBMS_METADATA.GET_DDL - How to install? Special privileges? Extract all user schema? [message #60445] Sun, 08 February 2004 22:16 Go to next message
Patrick Tahiri
Messages: 119
Registered: January 2004
Senior Member
Hi,

How to use DBMS_METADATA.GET_DDL to extract not only one table, but the entire schema? Is DBMS_METADATA.GET_DDL "installed" on Oracle 9i or do we need to implement it? Which privileges do one need to use DBMS_METADATA.GET_DDL?

Thank you very much for your answer.

Regards,

Patrick Tahiri.

SQL> select dbms_metadata.get_ddl('TABLE',u.table_name) from user_tables u;
Re: DBMS_METADATA.GET_DDL - How to install? Special privileges? Extract all user schema? [message #60452 is a reply to message #60445] Mon, 09 February 2004 03:51 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
the package runs with the privileges of the calling user.
it should be installed with 9i.
Previous Topic: ORA 12571 TNS:packet writer failure
Next Topic: Space allocation problem! Please help!
Goto Forum:
  


Current Time: Fri Sep 20 12:33:47 CDT 2024