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 心隨我動 閱讀(561) 評論(0)  編輯  收藏 所屬分類: Oracle
          網站流量統計:
          澳大利亞 ABC 在線英語廣播電臺
          主站蜘蛛池模板: 丹江口市| 宜阳县| 上犹县| 富源县| 老河口市| 太谷县| 色达县| 肥乡县| 当涂县| 平谷区| 夏津县| 宝兴县| 南岸区| 简阳市| 自贡市| 江陵县| 贵州省| 虞城县| 乐平市| 游戏| 乐都县| 崇左市| 漠河县| 阿坝县| 泗阳县| 从江县| 洪泽县| 什邡市| 邵武市| 若尔盖县| 新巴尔虎右旗| 承德市| 禹州市| 南木林县| 巢湖市| 嘉祥县| 崇州市| 潮安县| 韶山市| 铅山县| 嘉荫县|