oracle的ttt用户下有很多表(100多个),我想把这个用户下的所有表、索引、数据,都导入另外一个表中。其中有三个表的数据量非常大,我就不想导出,怎么过滤这三个表。

解决方案 »

  1.   

    exp aichannel/aichannel@TESTDB2  talbes =htest1,test2,test3 file=tt20101112copy.dmp   rows=y indexes=y 
    这种方式导出三个表,可过滤这三个表吗?请高手指教!先谢
      

  2.   

    为什么不用PL/SQL DEV 导呢?
      

  3.   

    exp user/pwd file=xxx.dmp owner=(user) tables not in (三个表) ;
      

  4.   

    1、使用exp导出不能排除某一张表,oracle不支持。
    2、如果使用oracle 10g,则可以使用expdp来导出,支持排除,速度更快,功能更强大。
    导出除了emp,dept的所有表
    c:\>expdp test/test directory=my_dir dumpfile=my.dmp exclude=table:"in ('DEPT','EMP')"
    详细说明