Solved

How do I export a Schema within a database

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

Technology Partners: 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

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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…

687 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