Solved

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

Posted on 2012-03-20
4
372 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
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 76

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now