--导出用户
exp system/system@East file=f:/scott.dmp log=f:/scott.log owner=scott
--导出用户中的表
exp scott/tiger@East file=f:/scott_emp_dept.dmp tables=(emp,dept)
--导入用户中的表
imp scott/tiger@East file=f:/scott_emp_dept.dmp fromuser=scott touser=scott
--导入用户
imp system/system@East file=f:/scott.dmp fromuser=scott touser=scott
注意事项:
Oracle 中的版本要一致才行,不能从高版本的数据库,导入到低版本的数据库来。