cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
nano -w params.txt
give it the following content, e.g.:
DIRECTORY=data_pump_dir
DUMPFILE=my_expdat.dmp
EXCLUDE=TABLE:"IN ('TABLE1,TABLE2')"
TABLE_EXISTS_ACTION=REPLACE
save it, then run impdp like this:
./impdp system@MYDATABASE PARFILE=params.txt
source: http://www.orafaq.com/forum/t/174436/0/
No comments:
Post a Comment