expdp impdp用法示例

COMMAN:mkdir /home/oracle/expdump

SQL:create directory exp_dump as '/home/oracle/expdump';

SQL:grant read,write on directory exp_dump to tuser;



COMMAN:expdp sourceUser/tpasswd dumpfile=gd20110418.dmp directory=exp_dump logfile=gd20110418.log EXCLUDE=table:\"IN \(\'TAB1\',\'TAB2\'\)\"


COMMAN:impdp targetUser/tpasswd directory=exp_dump dumpfile=gd20110418.dmp logfile=gd201104182.log REMAP_SCHEMA=sourceUser:targetUser

你可能感兴趣的:(oracle,sql)