Solved

while export

Posted on 2014-04-24
3
376 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
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 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 76

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
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…
Via a live example, show how to take different types of Oracle backups using RMAN.
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.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now