?
Solved

while export

Posted on 2014-04-24
3
Medium Priority
?
401 Views
Last Modified: 2014-05-20
We use the below par file to export.


prodexp.par

directory=DATA_PUMP_DIR
dumpfile=expdp_prod.dmp
logfile=expdp_prod.log
schemas=nero


Below is the condition----
What modification I have to make in par file while export

please advice..



Copy the DDL (table definition/metadata/tables structures) for the schema/user 'nero' from production to QA. All tables, views, synonyms under Tridata need to be in QA. No actual data in the tables need to be copied from production to QA, only empty tables need to be copied.
0
Comment
Question by:vangogpeter
[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
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 40020399
You selected the answer in your previous question that gave you the answer to this one:
http://www.experts-exchange.com/Database/Oracle/Q_28417648.html

The link provided there had the answer.

On the import add:
content=metadata_only

http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL2899

METADATA_ONLY unloads only database object definitions; no table row data is unloaded. Be aware that if you specify CONTENT=METADATA_ONLY, then when the dump file is subsequently imported, any index or table statistics imported from the dump file will be locked after the import.
0
 

Author Comment

by:vangogpeter
ID: 40020475
Any other way adding sql in parfile.

Please advice.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40020494
>>Any other way adding sql in parfile.

I don't believe so.

Out of curiosity, what SQL would you want to put in a par file?
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

800 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