posts - 36,comments - 31,trackbacks - 0

          備份一個或多個用戶

          D:\>exp scott/tiger file=導出文件
          D:\>exp system/manager owner=(用戶1,用戶2,…,用戶n) file=導出文件

          備份一個或多個表

          D:\>exp 用戶/密碼 tables=表
          D:\>exp 用戶/密碼 tables=(表1,…,表2)
          D:\>exp system/manager tables=(用戶.表)
          D:\>exp system/manager tables=(用戶1.表1,用戶2.表2)

          導入指定表

          D:\>exp scott/tiger file=a.dmp 
          D:\>imp test/test fromuser=scott tables=emp file=a.dmp
          D:\>imp test/test tables=dept file=a.dmp
          說明:
          如果導出用戶沒有DBA權限,則導入用戶可以不用指定fromuser、touser參數
          如果導出用戶擁有DBA權限,則導入用戶也必須擁有DBA權限

          記錄LOG信息

                     imp80 username/password@alias file=impfile.dmp log=mylog.log
                     exp80 username/password@alias file=expfile.dmp log=mylog.log

                運行后,mylog.log里記錄著所有的LOG信息

          posted on 2007-04-19 11:28 心隨我動 閱讀(558) 評論(0)  編輯  收藏 所屬分類: Oracle
          網站流量統計:
          澳大利亞 ABC 在線英語廣播電臺
          主站蜘蛛池模板: 东源县| 图们市| 连云港市| 大宁县| 大渡口区| 三明市| 长丰县| 宝清县| 宁国市| 大港区| 阿拉善左旗| 仪陇县| 绥化市| 柳河县| 呈贡县| 潜山县| 塘沽区| 会昌县| 临沧市| 宝应县| 凤山县| 城市| 淮南市| 丰都县| 区。| 司法| 长乐市| 柳江县| 崇左市| 梅州市| 和政县| 克什克腾旗| 郸城县| 正安县| 施甸县| 隆回县| 新宁县| 静乐县| 榆林市| 许昌市| 临汾市|