Solved

How to view the 'CREATE DATABASE' script for my database?

Posted on 2012-03-20
4
389 Views
Last Modified: 2012-03-21
Hi,

I can access my Oracle database by using Toad (v11, Free) and sqlplus.

Is there a way for me to view the 'CREATE DATABASE' script for my database?

Thanks.
0
Comment
Question by:killdurst
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 4

Assisted Solution

by:VictorTarasov
VictorTarasov earned 100 total points
ID: 37745882
No, but you can write script.
0
 
LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 100 total points
ID: 37745917
0
 
LVL 16

Assisted Solution

by:Wasim Akram Shaik
Wasim Akram Shaik earned 100 total points
ID: 37745939
you can view the create scripts for database objects but not for database..

because database is not an object, its a software...!!!

there are many ways for recreating the database.. as expert pratima has said, that could be one of the option

other options can be taking an export/expdp of existing db and import import/impdp in another database..etc.,
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 200 total points
ID: 37746907
One other option:  Run the database configuration asssitant (DBCA), create a template from an existing database.  Then run through the steps to create a database from the template.

At the end of the process you have the option to save the create scripts instead of actually creating the database.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pivot rows to columns 1 44
sum of columns in a row in oracle 3 42
Help with Oracle IF statment 5 35
Oracle SQL Developer - SubString 2 24
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question