Excluding Tables from a Full Export
Oracle Error Tips by Stephanie Filio of Burleson Consulting
Question: A user on DBA Forums
raised this question regarding an Oracle exp exclude clause, asking if
Is it possible to
exclude single table from exp...full=y?
In reply to the question
regarding excluding tables from exports (the exp or expdp utility), another user gave this information
on the tables clause in the data pump export syntax.
Oracle Data Pump supports an EXCLUDE parameter.
For example, you could set EXCLUDE=INDEX:"LIKE 'EMP%'" to exclude all tables
whose names start with the string emp%:
hr/hr EXCLUDE=TABLE:\"LIKE \'EMP%\'\" DUMPFILE=dpump_dir1:exp.dmp
With a full export specified specified, no, you cannot exclude tables, but if
you change it to TABLES=
... yes. the listing of tables is what
to INCLUDE in the export (not exclude) so you must list every table. You can do
this on the export or import (from full or what ever). To see all the options
available to you, try
IF you do generate a listing of tables to exclude from export,
I'd recommend doing it via dynamic SQL or some other method to make your life
easier if you have a large number of tables.
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 - 2020
All rights reserved by
is the registered trademark of Oracle Corporation.