我要备份tn_news表中news_id在1000-2000之间的新闻
麻烦问下这个exp的parfile怎么写?谢谢!

解决方案 »

  1.   


    exp user/password@服务 file=c:\newid1000-2000.dmp query='where newid between 1000 and 2000'
      

  2.   

    楼上的,我用了你的办法,显示连接到: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    EXP-00035: QUERY 参数仅在表模式导出中有效
    EXP-00000: 导出终止失败
      

  3.   

    sorry忘了指定表了exp user/password@服务 file=c:\newid1000-2000.dmp query='where newid between 1000 and 2000' tables=(表名)
      

  4.   

    exp user/password@服务 file=c:\file.dmp tables=tn_news query=\"where newid between 1000 and 2000\"
      

  5.   

    Export: Release 9.2.0.1.0 - Production on 星期三 6月 20 11:18:50 2007Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    EXP-00056: 遇到 ORACLE 错误 12500
    ORA-12500: TNS: 监听程序无法启动专用服务器进程
    EXP-00000: 导出终止失败
      

  6.   

    我的是可以的..版本不同..
    C:\>exp yst/yst file=d:\fiel.dmp tables=yst_zy query=\"where zylx < 10 \"Export: Release 8.1.7.0.0 - Production on 星期三 6月 20 11:18:19 2007(c) Copyright 2000 Oracle Corporation.  All rights reserved.
    连接到: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    已导出 ZHS16GBK 字符集和 ZHS16GBK NCHAR 字符集即将导出指定的表通过常规路径 ...
    . . 正在导出表                          YST_ZY          6 行被导出
    在没有警告的情况下成功终止导出。
    看下监听器的状态
    lsnrctl status