• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

while export

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
vangogpeter
Asked:
vangogpeter
  • 2
1 Solution
 
slightwv (䄆 Netminder) Commented:
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
 
vangogpeterAuthor Commented:
Any other way adding sql in parfile.

Please advice.
0
 
slightwv (䄆 Netminder) Commented:
>>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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now