Ask the Expert

Create data dictionary from existing Oracle database

I want to create a data dictionary document from an existing Oracle database. Can anyone please tell me how I can do that? Is there any SQL command available to create data dictionary?

    Requires Free Membership to View

The CREATE DATABASE command creates the Data Dictionary. But this is a one-time operation. If you have your database created, you do not create a data dictionary again. However, you may be talking about reverse-engineering the schema design. There are tools which can do this for you. Oracle Designer and Microsoft Visio have the ability to connect to the database and reverse-engineer the ERD. Those products work great but can be pricey. I prefer to use Happy Fish which is much cheaper. If you want to reverse-engineer the DDL statements to create an object, you can do something similar to the following:
SELECT dbms_metadata.get_ddl(object_type,user,object_name) 
FROM user_objects;

This was first published in July 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: