一个表空间下不同用户的表数据该怎么导出啊?
表空间:platform
用户1:edu;
用户2:studentwrite;
我想导出studentwrite下的所有表数据,
请问命令是什么啊?
exp studentwrite/studentwrite@workflow file=/home/oracle/backup/edu2010.dmp full=y;
这个命令会将所有的表导出来- -
还请各位指点。

解决方案 »

  1.   

    expdp 按照表空间导出。
      

  2.   

    expdp:
    expdp user/pwd studentwrite directory=.......
    exp:userid=user/pwd@tnsname
    log=
    file=
    buffer=8192000
    tables=(table1,table2,.....tablen)
    compress=yes
    grants=no
    indexes=no
    rows=yes
    constraints=no
      

  3.   

    exp studentwrite/studentwrite@workflow file=/home/oracle/backup/edu2010.dmp full=y; 
    把后面的full=y去掉就ok了
    exp studentwrite/studentwrite@workflow file=/home/oracle/backup/edu2010.dmp 
      

  4.   

    exp studentwrite/studentwrite@workflow file=/home/oracle/backup/edu2010.dmp