1. 全庫備份
imp FARMINVO/FARMINVO@orcl file=f:\farimvo0706.dmp full=y
exp nxcompare/64compare@oracle file=E:\compare20110715.dmp
2. 導出某張表的數據
exp nxcompare/64compare@oracle tables=(dm_hy,dm_swjg) file=f:\temp.dmp
imp nxcompare/64compare@oracle file=f:\compare20110715.dmp full=y
導入某個用戶下所有表:
imp username/pwd[@sid] file=pathname+filename [full=y]
導入某個用戶下的某張表:
imp username/pwd[@sid] file=pathname+filename tables=(tablename)
導入局域網內其他機器的數據庫:
imp username/pwd[@ip地址/sid] file=pathname+filename
導出某個用戶下所有表:
exp username/pwd[@sid] file=pathname+filename
導出某個用戶下的某張表:
exp username/pwd[@sid] file=pathname+filename tables=(tablename)
導出局域網內其他機器的數據庫:
exp username/pwd[@ip地址/sid] file=pathname+filename
posted on 2011-09-14 16:17
kxbin 閱讀(167)
評論(0) 編輯 收藏 所屬分類:
ORACLE