1.从源数据库导出数据:
语法:
exp user1/pwd1@test1 file='E:test.dmp';1
示例:
exp tianzhi_smart/[email protected]:1521/orcl file='E:\tianzhi_smart.dmp';1
2.向目标数据库导入数据:
语法:
imp user2/pwd@test2 file='E:test.dmp' full=y;1
示例:
imp tianzhi_smart/[email protected]:1521/orcl file='E:\tianzhi_smart.dmp' full=y;1