//匯出指定資料庫某個表到一個檔案#>exp ss_hr/ss_hr@10.231.221.30:1521/SSHR full=n tables=(REPORT_TABLE) file='REPORT_TABLE.dump'
//匯出指定資料庫多個表到一個檔案#exp ss_hr/ss_hr@10.231.221.30:1521/SSHR full=n tables(AR_SUMMARY_C11,AR_MAC_RECORDS_C11,AR_MAC_RECORDS_C11) file='AR_MAC_RECORDS_C11+AR_MAC_RECORDS_C11+AR_SUMMARY_C11.dump'
//匯出指定資料庫一個表到一個檔案
#exp ss_hr/ss_hr@10.231.221.30:1521/SSHR tables=AR_MAC_RECORDS_C11 file='AR_MAC_RECORDS_C11.dmp'
只匯出表結構 檔案名稱:table_structure_sshr.dmp#exp ss_hr/ss_hr@10.231.221.30:1521/SSHR owner=ss_hr rows=n file=table_structure_sshr.dmp log=table_structure_sshr.log
匯入單個檔案#imp ss_hr/ss_hr file='C:\Users\Administrator.cici-THINK\AR_MAC_RECORDS_C11.dmp' touser=indonesia/indonesia full=yImport: Release 11.2.0.2.0 - Production on 星期二 2月 5 23:13:32 2013Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.IMP-00058: 遇到 ORACLE 錯誤 1017ORA-01017: invalid username/password; logon denied使用者名稱: indonesia/indonesia
某個dmp檔案匯入單個表#imp indonesia/indonesia@xe touser=indonesia file=F:\AIT\Lottes\DB\初始化資料庫語句\Database\ss_hr.dmp tables=SY_CODE_PARAM
REPORT_TABLE.dump檔案就是建表語句(包含insert語句)