Solved

How do I export a Schema within a database

Posted on 2007-11-29
1
3,487 Views
Last Modified: 2013-12-18
I  need to export a schema with all their objects. What command would I issue to do this?
0
Comment
Question by:sikyala
1 Comment
 
LVL 18

Accepted Solution

by:
rbrooker earned 500 total points
ID: 20377945
exp userid=<name>/<pdw>@<db> owner=<schema_to_export> log=<log_file>

or you can put them into a parfile

-- START --
userid=user/pwd@db
logfile=/log/file.log
owner=(<schema_to_export>)
grants=Y
rows=Y
constraints=Y
<whatever other options you want to include>
-- END --

then

exp parfile=<name_of_created_parfile>

this will then use the options you specified and export what you want...

good luck :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
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.

730 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