Question: In the old import utility we were able to use "show=y"
to see the DDL contents of an export dump file. What is the
equivalent in Data Pump?
Answer: In Data Pump import (impdp) made several great
- The dump file is now in XML, and you can browser a dump file
to see the contents.
- The show=y has been replaced by the sqlfile
Here is an example of using the sqlfile parameter
with impdp to display the DDL within an Data Pump Export (expdp)
file named myexp.dmp:
impdp directory=expdir dumpfile=myexp.dmp sqlfile=ddl.sql
In this example, the impdp does not actually
perform an import of the contents of the dump file. Rather,
the sqlfile parameter create a script named ddl.sql that contains
all DDL from within the export dump file.
Also see how
using the sqlfile parameter is useful when gathering arguments for
dbms_datapump metadata_remap procedure.
Get the Complete
Oracle Utility Information
The landmark book
Utilities The Definitive Reference" contains over 600 pages of
filled with valuable information on Oracle's secret utilities.
This book includes scripts and tools to hypercharge Oracle 11g
performance and you can
for 30% off directly from the publisher.
Burleson is the American Team
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
and include the URL for the page.
Copyright © 1996 - 2017
All rights reserved by
is the registered trademark of Oracle Corporation.
Remote Emergency Support provided by