如题。现有一个DMP文件,是作备份使用的。现在只想从中导入一个表的数据,应该如何操作?

解决方案 »

  1.   

    imp user/pwd file=xx.dmp tables=(tablename);
      

  2.   

    要导入指定表的话,你必须导出来的时候包含什么表.
    然后按楼上的说法就能实现:
    imp user/pwd file=xx.dmp tables=(tablename) ignore=y full = y;
      

  3.   

    imp user/pwd@tnsname file=xx.dmp tables=(tablename);
    标红处不加的话,只能本地服务器操作的说。本机有多个实例的话又会出麻烦的说。
      

  4.   

    imp user/pwd file=xx.dmp tables=(tablename) ignore=y full = y fromuser=A touser=B;
      

  5.   

    将d:daochu.dmp中的表table1 导入 
    imp system/manager@TEST file=d:daochu.dmp tables=(table1) 
      

  6.   

    什么工具导出的?EXPDP?还是EXP?