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
improvements:
- 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
argument.
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
the
dbms_datapump metadata_remap procedure.
|
|
|
Get the Complete
Oracle Utility Information
The landmark book
"Advanced Oracle
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
buy it
for 30% off directly from the publisher.
|
|
|
|
Burleson is the American Team
Note:
This Oracle
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
Oracle forum.
Verify
experience!
Anyone
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
publish
their Oracle
qualifications.
Errata?
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
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|