Solved

Scripts

Posted on 2011-03-11
10
318 Views
Last Modified: 2012-05-11
I have a CDR schema and I want to get the scripts of all the objects which
includes tables, views, jobs, sequences packages, procedures , functions, mview
etc., anythng that are on that schema

Is there any way I can get this done thru TOAD?


Please respond asap

Thanks
0
Comment
Question by:d27m11y
  • 6
  • 2
  • 2
10 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 125 total points
ID: 35112706
Check out:

http://www.experts-exchange.com/Database/Oracle/Q_24037756.html

if you're using version 9.6 then follow these steps...

1. Select Database Menu Option
2. Database Menu -> Export -> generate schema scripts

3. in rhs window choose select the schema and then press the green play button

0
 

Author Comment

by:d27m11y
ID: 35112726

Am using 9.6.1.. Let me try the option what you have said
0
 

Author Comment

by:d27m11y
ID: 35112791


Is there any option that I can get all the scripts of the Tables separately , views separately, packages separately instead of everythng combined
0
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.

 

Author Comment

by:d27m11y
ID: 35112876


Also, for some schemas I am not able to generate script. Is this a privilege issue. If so, can anyone suggest what kind of privilege do I need?

Quick reply is appreciated!
0
 
LVL 2

Assisted Solution

by:swadhinray
swadhinray earned 125 total points
ID: 35125176
check this link hope this will give you an idea on your queries :

http://www.experts-exchange.com/Database/Oracle/10.x/Q_24142724.html

you can choose individually for each option by selecting them while generating the DDLs.
0
 
LVL 2

Expert Comment

by:swadhinray
ID: 35125181
Sorry not on export  DDL  but on Generate schema script.
0
 

Author Comment

by:d27m11y
ID: 35129107

I am able to generate schema script from TOAD and it is quite helpful. Is there anyway that I can get each of the procedures/functions/views scripts separately generated thru TOAD?

Quick reply is appreciated
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35129346
Sorry, I'm not a Toad user.  I suggest you refer to the help section of Toad for assistance.

You can also click the 'Request Attention' link above and as the Moderators to see if they can locate q Toad Expert to offer more help.
0
 

Assisted Solution

by:d27m11y
d27m11y earned 0 total points
ID: 35129391

I think I got it. I used

In ‘Generate Schema Script’, there is an option ‘Create Individual Object DDL Files’.   This will create separate files for each object.


This works thru TOAD !
0
 

Author Closing Comment

by:d27m11y
ID: 35170843
Resolved the issue!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
SQL Developer 6 62
exp/imp 25 86
return value in based on value passed 6 28
sql server store procedure contains temp tables need to convert oracle? 3 27
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…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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.

839 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