zoukankan      html  css  js  c++  java
  • Oracle11g 数据库的导入导出

    导出:

    全部:

    exp imagesys/imagesys@orcl file=/icms/20170116.dmp full=y

    用户:

    exp imagesys/imagesys @orcl file=/icms/20170116.dmp owner=imagesys

    exp system file=/icms/lims2017116.dmp log=/icms/icms.log owner=imagesys

    表:

    exp imagesys/imagesys@orcl file=/icms/lims2017116.dmp tables=(table1,table2)

    导出空表sql语句

    select 'alter table '||table_name||' allocate extent;' from user_tables where segment_created='NO'


        导入:
         全部:

    imp imagesys/imagesys@orcl buffer=64000 file=/icms/lims2017116.dmp FULL=Y

    用户:
    imp imagesys/imagesys@orcl file=/icms/lims2017116.dmp fromuser=imagesys touser=imagesys

  • 相关阅读:
    十天冲刺4
    单词统计
    十天冲刺3
    学习进度第十周
    十天冲刺2
    十天冲刺1
    梦断代码阅读笔记03
    学习进度第九周
    [强网杯 2019]Upload
    [2020 新春红包题]1
  • 原文地址:https://www.cnblogs.com/lingbing/p/6386927.html
Copyright © 2011-2022 走看看