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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.