Apun's Weblog_ How to Use E..
Click here to load reader
-
Upload
wastingtime08 -
Category
Documents
-
view
216 -
download
0
Transcript of Apun's Weblog_ How to Use E..
8/9/2019 Apun's Weblog_ How to Use E..
http://slidepdf.com/reader/full/apuns-weblog-how-to-use-e 1/2
Custom Search
RAC & DG
Related
How To:
Configure
Data Guard
Fast-StartFailover Step
By Step
How To:
Configure
Data Guard
Broker
Step by Step
Data Guard
Setup for
Oracle 10g
What is
Voting Disk &Split Brain
Syndrome in
RAC
RAC
Installation
on NetApps
Raw Devices
with ASM:
Part 1
RAC
Installation
on NetApps
Raw Devices
with ASM:
Part 2
RAC
Installation
on NetApps
Raw Devices
with ASM:
Part 3
10.2.0.1 CRS
Share Report Abuse Next Blog» Create Blog Sign In
Apun's WeblogMy Belief - Life should NOT be a j ourney to the grave with the intention of arriving safely in an attractive and w ell preserved body, butrather to skid in sidew ays, straw berries in one hand, champagne in the other, body thoroughly used up, totally w orn out and screaming"W OO HOO what a ride!"
s Weblog: How to use Exclude in EXPDP: http://apunhiran.blogspot.com/2008/06/how-to-use-exclude-in-e
8/17/2010
8/9/2019 Apun's Weblog_ How to Use E..
http://slidepdf.com/reader/full/apuns-weblog-how-to-use-e 2/2
Wednesday, June 11, 2008How to use Exclude in EXPDP:
Recently i got a requirement to export schema minus certain tables:
expdp system/******** schemas=REPORT directory=REPORT1
dumpfile=report1.dmp logfile=report1.log EXCLUDE=TABLE:\"LIKE
\'OP%\'\", TABLE:\"LIKE \'%XYZ%\'\"
I figured out the power of expdp here, which enables the use of LIKE
and such other operations in the EXCLUDE section.
I had problems with just typing EXCLUDE=TABLE:"LIKE 'OP%'",
TABLE:"LIKE '%XYZ%'":
ORA-39001: invalid argument value
ORA-39071: Value for EXCLUDE is badly formed.
ORA-00911: invalid character
So decided to include escape characters in the statement, so it
became:
EXCLUDE=TABLE:\"LIKE \'OP%\'\", TABLE:\"LIKE \'%XYZ%\'\" , this means
exclude tables starting with OP and any tables which have XYZ in
their table name.
Other options in expdp exclude:
Using the NOT IN OPERATOR
EXCLUDE=TABLE:\"NOT IN \(\'TEMP\',\'TEMP1\'\)\"
Using the IN OPERATOR
EXCLUDE=TABLE:\"IN \(\'TEMP\',\'TEMP1\'\)\"
I think this is a great advancement in the way we use exp. I found
this very helpful.
Posted by Apun Hiran at 3:58 PM
Labels: 10g, apun, apunhiran, exclude, expdp, feature, hiran, in, like, new, not,
oracle, schema
0 Comments:
Post a Comment
Links to this post
Create a Link
Translate
This Page
Select Language:
About Me
Apun
Hiran
View
my
complete profile
Quotes I Like:
"I shed my inhibitions, my
fears, I traveled light. I
traded my stock options
for a lonely planet, my
cell phone for a compass.
My briefcase for a
backpack. I took off. I
wandered in the company
of tourists, revelers & a
guitar as old as me. I
learned that people aregood. Strangers are
fascinating. And that
every journey reveals
another. I've lost track of
time. And perhaps my
job, my apartment & my
fiancé. But I have my
compass & I know its
pointing me in the right
direction."
"Some Men see things as
they are and say Why; I
dream things that neverwere and say Why Not."
Recent Visitors
@DBASupport
.com
What's New in
Oracle
s Weblog: How to use Exclude in EXPDP: http://apunhiran.blogspot.com/2008/06/how-to-use-exclude-in-e
8/17/2010