Q

Create data dictionary from existing Oracle database

I want to create a data dictionary document from an 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?
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

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close