Solved

while export

Posted on 2014-04-24
3
380 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 77

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 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

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
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.

820 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