Solved

while export

Posted on 2014-04-24
3
371 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
Comment Utility
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
Comment Utility
Any other way adding sql in parfile.

Please advice.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>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

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.

Join & Write a Comment

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…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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.

763 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

9 Experts available now in Live!

Get 1:1 Help Now