Link to home
Start Free TrialLog in
Avatar of sikyala
sikyalaFlag for United States of America

asked on

how do I export using datapump to export schema excluding certain tables

When I try to exclude one or more tables in my schema export I get an LRM error

expdp system/***** schemas=acct_mgr exclude=TABLE:"='INTMETRICS'" DIRECTORY=dpump_dir1 dumpfile=acct_mgr_140814.dmp logfile=acct_mgr_140814.log
LRM-00116: syntax error at 'TABLE:' following '='

When I try it again using the escape I still get an error as well

expdp system/***** schemas=acct_mgr exclude=TABLE:\"=\'INTMETRICS\'\" DIRECTORY=dpump_dir1 dumpfile=acct_mgr_140814.dmp logfile=acct_mgr_140814.log
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sikyala

ASKER

thanks