C:\Users\Administrator>expdp scott/poper  directory=dump_dir dumpfile=tab.dmp ta
bles=dept;Export: Release 10.2.0.1.0 - Production on 星期五, 22 4月, 2011 16:46:57Copyright (c) 2003, 2005, Oracle.  All rights reserved.连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 475
ORA-29283: 文件操作无效

解决方案 »

  1.   

    检查directory是否创建 检查directory里的路径和系统路径是否一致。检查directory的权限和本地权限。
      

  2.   

    SQL> create or replace directory dump_dir
    as 'D:\orcl_dump';
    grant read,write on directory dump_dir to scott;
    这几步都做了,且成功了。。
      

  3.   

    D:\orcl_dump  你的这个在D盘下需要orcl_dump 目录 你没有手动建  
    create or replace directory dump_dir
    as 'D:\orcl_dump';
    这个命令不会帮你新建目录的 , 只是声明  , 你必须手动新建
      

  4.   

    还是有两个错误。。
    ORA-39166: 找不到对象 DEPT;。
    ORA-31655: 尚未为作业选择数据或元数据对象
    作业 "SCOTT"."SYS_EXPORT_TABLE_01" 已经完成, 但是有 2 个错误 (于 17:00:38 完成)
      

  5.   

    为什么明明有这个dept的表他却提示找不到对象dept?
      

  6.   

    expdp scott/poper directory=dump_dir dumpfile=tab.dmp ta
    bles=dept;;多余了 会认为dept;作为一个对象 所以找不到
      

  7.   


    expdp scott/poper directory=dump_dir dumpfile=tab.dmp
    成功执行了。但是结果却不是我想要的,怎么样只导出一个特定的表呢?语句应该怎么写呢?
    非常感谢。
      

  8.   

    可以了。
    C:\Users\Administrator>expdp scott/poper  directory=dump_dir dumpfile=tab.dmp ta
    bles="scott"."dept"就行了。要打双引号。。
      

  9.   

    那就去google查语法吧,你的那个不是导出特定表的语句吗?