每一天都是進(jìn)步

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            88 隨筆 :: 0 文章 :: 5 評(píng)論 :: 0 Trackbacks

          導(dǎo)入數(shù)據(jù)庫
          #imp 用戶名/密碼@SID file=數(shù)據(jù)庫文件路徑 full=y

          例如:imp oa_ncsoa/password@orcl_192.168.2.62 file=F:\nc.dmp full=y

          exp 數(shù)據(jù)庫帳號(hào)/密碼@sid_IP file=e:\database\XXX.dmp
          imp 數(shù)據(jù)庫帳號(hào)/密碼@sid_ip file=e:\database\XXX.dmp fromuser=用戶


           

          本機(jī)數(shù)據(jù)庫導(dǎo)入導(dǎo)出表
          導(dǎo)出:
          exp cltest/password@cl-PC:1521/orcl file=d:\account.dmp tables=(account)
          導(dǎo)入
          imp cltest/password@localhost/orcl file=文件存放位置  tables=(account)
          注:tables=后面的表要用括號(hào)且不能有;如果有;會(huì)提示

          導(dǎo)出庫
          exp cltest/password@cl-PC:1521/orcl file=d:\d1.dmp  

          公司232上導(dǎo)入表(比如辦公廳)
          imp oa_bgt_0824/password@192.168.2.232:1521/orcl file=文件位置(可直接拖進(jìn)來)  tables=t_oa_infopublish_template不用括號(hào),待驗(yàn)證是不是linux環(huán)境的原因


           

          posted on 2015-03-17 14:33 碟雅閑居 閱讀(219) 評(píng)論(0)  編輯  收藏 所屬分類: Oracle學(xué)習(xí)
          主站蜘蛛池模板: 南宫市| 石嘴山市| 乐山市| 馆陶县| 沙河市| 修武县| 青阳县| 剑河县| 岢岚县| 德安县| 宜宾市| 岚皋县| 清苑县| 辽宁省| 长丰县| 上饶县| 那坡县| 修武县| 霍山县| 梧州市| 东安县| 武宣县| 上饶市| 阿尔山市| 鹤壁市| 治县。| 泰兴市| 富裕县| 宜宾县| 辽中县| 大新县| 高邮市| 宕昌县| 广元市| 阿拉善盟| 陆丰市| 墨竹工卡县| 息烽县| 晋中市| 象山县| 资兴市|