ITPub博客

首页 > 应用开发 > IT综合 > exp query

exp query

原创 IT综合 作者:ysjxjf 时间:2008-12-23 16:31:24 0 删除 编辑
C:Documents and SettingsAdministrator>exp userid=scott/tiger tables=(emp,test_emp) query= "where to_char(hiredate,'yyyy') <='2007'"
Export: Release 9.2.0.8.0 - Production on 星期二 12月 23 16:23:50 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径 ...
. . 正在导出表 EMP 14 行被导出
EXP-00091: 正在导出可疑的统计信息。
EXP-00091: 正在导出可疑的统计信息。
. . 正在导出表 TEST_EMP 14 行被导出
导出成功终止,但出现警告。
C:Documents and SettingsAdministrator>
注意:
如果通过 parameter file 来处理需要这样写:(需要取掉 "" ) 否则会报
LRM-00116: ')'后跟 'yyyy' 时出现语法错误
LRM-00113: 处理文件 'd:exp_par.txt' 时出错
EXP-00019: 处理参数失败,有关帮助请键入 'EXP HELP=Y'
EXP-00000: 导出终止失败
exp parfile=d:exp_par.txt
d:exp_par.txt 内容如下:
userid=scott/tiger
tables=(emp,test_emp)
query= "where to_char(hiredate,'yyyy') <='2007' "
[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66634/viewspace-1015182/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 遇到 短信欺诈!
请登录后发表评论 登录
全部评论

注册时间:2008-04-24

  • 博文量
    376
  • 访问量
    3279018