Solved

How do I export a Schema within a database

Posted on 2007-11-29
1
3,486 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

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.

Question has a verified solution.

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

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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
This video shows how to recover a database from a user managed backup

840 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